#02092B#02092B

#02092B is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.1% C 0.070 H 265.3°. Best body text is #FFFFFF at 19.51:1 contrast (WCAG AA passes).

Color values

HEX#02092B
RGBrgb(2, 9, 43)
HSLhsl(230, 91%, 9%)
HSVhsv(230, 95%, 17%)
CMYKcmyk(95.3%, 79.1%, 0%, 83.1%)
CIE-LABlab(3.46, 7.99, -21.98)
CIE-LCHlch(3.46, 23.38, 289.97°)
OKLaboklab(16.1% -0.0058 -0.0702)
OKLCHoklch(16.1% 0.07 265.3)
XYZxyz(0.5586, 0.3826, 2.3294)
Luminance0.0038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02092B #2B2402
analogous
#021E2B #02092B #10022B
triadic
#02092B #2B0209 #092B02
tetradic
#02092B #2B021E #2B2402 #022B10
square
#02092B #2B021E #2B2402 #022B10
split-complementary
#02092B #2B1002 #1E2B02
monochromatic
#01061D #01061D #02092B #051565 #0721A0

Accessibility & contrast

On white

19.51
#02092B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #02092B
19.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02092B#FFFFFF#000000##FFFFFF
##02092B1.0019.511.0819.51
#FFFFFF19.511.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F2C
Deuteranopia (green-blind)
#000A2A
Tritanopia (blue-blind)
#001218
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #02092b;
/* rgb */ color: rgb(2, 9, 43);
/* oklch */ color: oklch(16.1% 0.070 265.3);
Tailwind
colors: {
  custom: {
    50: '#484a64',
    500: '#02092b',
    950: '#000000',
  },
}
SCSS
$custom: #02092b;
$custom-light: #484a64;
$custom-dark: #000000;
JSON
{
  "hex": "#02092b",
  "rgb": {
    "r": 2,
    "g": 9,
    "b": 43
  },
  "hsl": {
    "h": 229.756,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.161,
    "c": 0.07045,
    "h": 265.3
  },
  "luminance": 0.00383
}

Semantic roles & 50–950 ramp

primary
#02092B
secondary
#706119
accent
#DA29FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010105
muted
#77777A

Preview Lab

Preview with #02092B

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

Preview Lab → · Contrast checker → · Palette generator →

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