Nearest named color · #02192C
#02192C
Nearest named color: Oxford by Night
#02192C (rgb(2 25 44), hsl(207 91% 9%), oklch(0.207 0.048 245.7)) is closest to the named color Oxford by Night. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#02192C
oklch(0.207 0.048 245.7)
Color conversions
- HEX
- #02192c
- RGB
- rgb(2 25 44)
- HSL
- hsl(207 91% 9%)
- HWB
- hwb(207 1% 83%)
- OKLCH
- oklch(0.207 0.048 245.7)
- OKLab
- oklab(0.207 -0.02 -0.044)
- CIE Lab
- lab(7.8 -2.87 -15.81)
- LCH
- lch(7.8 16.07 259.7)
- CMYK
- cmyk(95% 43% 0% 83%)
Tints · Shades · Tones
Tints
- 172C3F
- 2D4152
- 445666
- 5D6C7A
- 76838F
- 909BA5
- AAB3BB
- C6CCD1
- E2E5E8
Shades
- 011425
- 01101E
- 010B17
- 000711
- 00040A
- 000205
- 000102
- 000001
- 000000
Tones
- 0D2234
- 192C3C
- 253644
- 32404D
- 3E4A55
- 4B555E
- 585F66
- 656A6F
- 727577
Color harmonies
Complementary +180°
- 02192C
Oxford by Night
- 251200
≈ Super Black
Analogous -30° +30°
- 02192C
Oxford by Night
- 001B22
≈ Creeping Death
- 12152D
≈ Liberty Blue
Triadic +120° +240°
- 02192C
Oxford by Night
- 290D14
≈ Italian Roast
- 121B02
≈ Pinch of Pepper
Split-complementary +150° +210°
- 02192C
Oxford by Night
- 2A0E07
≈ Root Brew
- 1D1700
≈ Noir Mystique
Tetradic +90° +180° +270°
- 02192C
Oxford by Night
- 250E20
≈ Inside
- 251200
≈ Super Black
- 011E0E
≈ Clock Chimes Thirteen
Contrast & accessibility
Ag
AAAOn white
WCAG 17.82:1 · APCA Lc 104
Ag
FailOn black
WCAG 1.17:1 · APCA Lc 0
Best text color: #FFFFFF
WCAG 17.82:1 (AAA) · APCA Lc 104
Contrast pairs
Code snippets
CSS
:root {
--oxford-by-night: #02192c;
--oxford-by-night-rgb: 2 25 44;
--oxford-by-night-oklch: oklch(0.207 0.048 245.7);
}
.element {
color: var(--oxford-by-night);
background-color: hsl(207 91% 9%);
border-color: oklch(0.207 0.048 245.7);
}Tailwind CSS v4
@theme {
--color-oxford-by-night: #02192c;
--color-oxford-by-night-50: #ebf7ff;
--color-oxford-by-night-100: #dceaf8;
--color-oxford-by-night-200: #c5d7e8;
--color-oxford-by-night-300: #a4bacf;
--color-oxford-by-night-400: #87a2ba;
--color-oxford-by-night-500: #6c8aa5;
--color-oxford-by-night-600: #5b758b;
--color-oxford-by-night-700: #495d70;
--color-oxford-by-night-800: #344552;
--color-oxford-by-night-900: #232f39;
--color-oxford-by-night-950: #121c24;
}SCSS
$oxford-by-night: #02192c;
$oxford-by-night-rgb: 2, 25, 44;
$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);
}