Nearest named color · #071928
#071928
Nearest named color: Oxford by Night
#071928 (rgb(7 25 40), hsl(207 70% 9%), oklch(0.207 0.038 245.9)) is closest to the named color Oxford by Night. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#071928
oklch(0.207 0.038 245.9)
Color conversions
- HEX
- #071928
- RGB
- rgb(7 25 40)
- HSL
- hsl(207 70% 9%)
- HWB
- hwb(207 3% 84%)
- OKLCH
- oklch(0.207 0.038 245.9)
- OKLab
- oklab(0.207 -0.016 -0.035)
- CIE Lab
- lab(7.88 -2.87 -12.69)
- LCH
- lch(7.88 13.01 257.3)
- CMYK
- cmyk(83% 38% 0% 84%)
Tints · Shades · Tones
Tints
- 1C2C3B
- 31404E
- 485662
- 606C77
- 78838C
- 929AA2
- ACB3B9
- C7CBD0
- E3E5E7
Shades
- 051421
- 04101B
- 020B15
- 02070F
- 010409
- 000204
- 000102
- 000001
- 000000
Tones
- 122230
- 1D2C39
- 293641
- 34404A
- 404A53
- 4D545B
- 595F64
- 666A6E
- 737577
Color harmonies
Complementary +180°
- 071928
Oxford by Night
- 231404
≈ Cannon Black
Analogous -30° +30°
- 071928
Oxford by Night
- 001C22
≈ Creeping Death
- 131629
≈ Sambucus
Triadic +120° +240°
- 071928
Oxford by Night
- 260F15
≈ Italian Roast
- 131B06
≈ Pinch of Pepper
Split-complementary +150° +210°
- 071928
Oxford by Night
- 26110B
≈ Severely Burnt Toast
- 1D1702
≈ Noir Mystique
Tetradic +90° +180° +270°
- 071928
Oxford by Night
- 22101E
≈ Inside
- 231404
≈ Cannon Black
- 071D10
≈ Clock Chimes Thirteen
Contrast & accessibility
Ag
AAAOn white
WCAG 17.81:1 · APCA Lc 104
Ag
FailOn black
WCAG 1.17:1 · APCA Lc 0
Best text color: #FFFFFF
WCAG 17.81:1 (AAA) · APCA Lc 104
Contrast pairs
Code snippets
CSS
:root {
--oxford-by-night: #071928;
--oxford-by-night-rgb: 7 25 40;
--oxford-by-night-oklch: oklch(0.207 0.038 245.9);
}
.element {
color: var(--oxford-by-night);
background-color: hsl(207 70% 9%);
border-color: oklch(0.207 0.038 245.9);
}Tailwind CSS v4
@theme {
--color-oxford-by-night: #071928;
--color-oxford-by-night-50: #edf6ff;
--color-oxford-by-night-100: #dee9f4;
--color-oxford-by-night-200: #c8d6e4;
--color-oxford-by-night-300: #a8bacb;
--color-oxford-by-night-400: #8ca1b4;
--color-oxford-by-night-500: #72899f;
--color-oxford-by-night-600: #607486;
--color-oxford-by-night-700: #4d5d6b;
--color-oxford-by-night-800: #37444f;
--color-oxford-by-night-900: #262f37;
--color-oxford-by-night-950: #141c22;
}SCSS
$oxford-by-night: #071928;
$oxford-by-night-rgb: 7, 25, 40;
$oxford-by-night-light: mix(#fff, $oxford-by-night, 20%);
$oxford-by-night-dark: mix(#000, $oxford-by-night, 20%);
.element {
color: $oxford-by-night;
box-shadow: 0 0 0 2px rgba($oxford-by-night, 0.35);
}