#02092E#02092E

#02092E is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.5% C 0.075 H 265.5°. Best body text is #FFFFFF at 19.42:1 contrast (WCAG AA passes).

Color values

HEX#02092E
RGBrgb(2, 9, 46)
HSLhsl(230, 92%, 9%)
HSVhsv(230, 96%, 18%)
CMYKcmyk(95.7%, 80.4%, 0%, 82%)
CIE-LABlab(3.66, 9.43, -23.91)
CIE-LCHlch(3.66, 25.71, 291.53°)
OKLaboklab(16.47% -0.0059 -0.0751)
OKLCHoklch(16.47% 0.075 265.5)
XYZxyz(0.6157, 0.4055, 2.6300)
Luminance0.0041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02092E #2E2702
analogous
#021F2E #02092E #11022E
triadic
#02092E #2E0209 #092E02
tetradic
#02092E #2E021F #2E2702 #022E11
square
#02092E #2E021F #2E2702 #022E11
split-complementary
#02092E #2E1102 #1F2E02
monochromatic
#01061D #01061D #02092E #051469 #0720A3

Accessibility & contrast

On white

19.42
#02092E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #02092E
19.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02092E#FFFFFF#000000##FFFFFF
##02092E1.0019.421.0819.42
#FFFFFF19.421.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #02092e;
/* rgb */ color: rgb(2, 9, 46);
/* oklch */ color: oklch(16.5% 0.075 265.5);
Tailwind
colors: {
  custom: {
    50: '#494a67',
    500: '#02092e',
    950: '#000000',
  },
}
SCSS
$custom: #02092e;
$custom-light: #494a67;
$custom-dark: #000000;
JSON
{
  "hex": "#02092e",
  "rgb": {
    "r": 2,
    "g": 9,
    "b": 46
  },
  "hsl": {
    "h": 230.455,
    "s": 91.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.16469,
    "c": 0.07536,
    "h": 265.5
  },
  "luminance": 0.00406
}

Semantic roles & 50–950 ramp

primary
#02092E
secondary
#736419
accent
#DD29FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #02092E

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

Preview Lab → · Contrast checker → · Palette generator →

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