#02092F#02092F

#02092F is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.6% C 0.077 H 265.6°. Best body text is #FFFFFF at 19.39:1 contrast (WCAG AA passes).

Color values

HEX#02092F
RGBrgb(2, 9, 47)
HSLhsl(231, 92%, 10%)
HSVhsv(231, 96%, 18%)
CMYKcmyk(95.7%, 80.9%, 0%, 81.6%)
CIE-LABlab(3.73, 9.94, -24.55)
CIE-LCHlch(3.73, 26.49, 292.05°)
OKLaboklab(16.59% -0.006 -0.0767)
OKLCHoklch(16.59% 0.077 265.6)
XYZxyz(0.6356, 0.4134, 2.7351)
Luminance0.0041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02092F #2F2802
analogous
#02202F #02092F #12022F
triadic
#02092F #2F0209 #092F02
tetradic
#02092F #2F0220 #2F2802 #022F12
square
#02092F #2F0220 #2F2802 #022F12
split-complementary
#02092F #2F1202 #202F02
monochromatic
#01061D #01061D #02092F #04146A #071FA4

Accessibility & contrast

On white

19.39
#02092F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#02092F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02092F
19.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02092F#FFFFFF#000000##FFFFFF
##02092F1.0019.391.0819.39
#FFFFFF19.391.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001030
Deuteranopia (green-blind)
#000B2E
Tritanopia (blue-blind)
#00131A
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #02092f;
/* rgb */ color: rgb(2, 9, 47);
/* oklch */ color: oklch(16.6% 0.077 265.6);
Tailwind
colors: {
  custom: {
    50: '#494a68',
    500: '#02092f',
    950: '#000000',
  },
}
SCSS
$custom: #02092f;
$custom-light: #494a68;
$custom-dark: #000000;
JSON
{
  "hex": "#02092f",
  "rgb": {
    "r": 2,
    "g": 9,
    "b": 47
  },
  "hsl": {
    "h": 230.667,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.16594,
    "c": 0.07697,
    "h": 265.6
  },
  "luminance": 0.00414
}

Semantic roles & 50–950 ramp

primary
#02092F
secondary
#746619
accent
#DE29FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #02092F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#02092F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva