#020B2F#020B2F

#020B2F is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.1% C 0.074 H 264.5°. Best body text is #FFFFFF at 19.24:1 contrast (WCAG AA passes).

Color values

HEX#020B2F
RGBrgb(2, 11, 47)
HSLhsl(228, 92%, 10%)
HSVhsv(228, 96%, 18%)
CMYKcmyk(95.7%, 76.6%, 0%, 81.6%)
CIE-LABlab(4.13, 9.13, -23.92)
CIE-LCHlch(4.13, 25.60, 290.89°)
OKLaboklab(17.06% -0.0071 -0.0737)
OKLCHoklch(17.06% 0.074 264.5)
XYZxyz(0.6576, 0.4574, 2.7424)
Luminance0.0046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020B2F #2F2602
analogous
#02222F #020B2F #10022F
triadic
#020B2F #2F020B #0B2F02
tetradic
#020B2F #2F0222 #2F2602 #022F10
square
#020B2F #2F0222 #2F2602 #022F10
split-complementary
#020B2F #2F1002 #222F02
monochromatic
#01071D #01071D #020B2F #04196A #0726A4

Accessibility & contrast

On white

19.24
#020B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#020B2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #020B2F
19.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020B2F#FFFFFF#000000##FFFFFF
##020B2F1.0019.241.0919.24
#FFFFFF19.241.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001130
Deuteranopia (green-blind)
#000C2E
Tritanopia (blue-blind)
#00151B
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #020b2f;
/* rgb */ color: rgb(2, 11, 47);
/* oklch */ color: oklch(17.1% 0.074 264.5);
Tailwind
colors: {
  custom: {
    50: '#494b68',
    500: '#020b2f',
    950: '#000000',
  },
}
SCSS
$custom: #020b2f;
$custom-light: #494b68;
$custom-dark: #000000;
JSON
{
  "hex": "#020b2f",
  "rgb": {
    "r": 2,
    "g": 11,
    "b": 47
  },
  "hsl": {
    "h": 228,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.17063,
    "c": 0.074,
    "h": 264.5
  },
  "luminance": 0.00457
}

Semantic roles & 50–950 ramp

primary
#020B2F
secondary
#746219
accent
#D429FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #020B2F

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

Preview Lab → · Contrast checker → · Palette generator →

#020B2F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva