#03021F#03021F

#03021F is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 12.4% C 0.065 H 274.4°. Best body text is #FFFFFF at 20.34:1 contrast (WCAG AA passes).

Color values

HEX#03021F
RGBrgb(3, 2, 31)
HSLhsl(242, 88%, 6%)
HSVhsv(242, 94%, 12%)
CMYKcmyk(90.3%, 93.5%, 0%, 87.8%)
CIE-LABlab(1.46, 6.26, -15.74)
CIE-LCHlch(1.46, 16.94, 291.69°)
OKLaboklab(12.4% 0.005 -0.0647)
OKLCHoklch(12.4% 0.065 274.4)
XYZxyz(0.3065, 0.1617, 1.3111)
Luminance0.0016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#03021F #1E1F02
analogous
#02101F #03021F #12021F
triadic
#03021F #1F0302 #021F03
tetradic
#03021F #1F0210 #1E1F02 #021F12
square
#03021F #1F0210 #1E1F02 #021F12
split-complementary
#03021F #1F1202 #101F02
monochromatic
#03021D #03021D #03021F #090658 #0E0992

Accessibility & contrast

On white

20.34
#03021F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.03
#03021F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #03021F
20.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##03021F#FFFFFF#000000##FFFFFF
##03021F1.0020.341.0320.34
#FFFFFF20.341.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000620
Deuteranopia (green-blind)
#00041E
Tritanopia (blue-blind)
#00080F
Achromatopsia (no color)
#050505

Design tokens & code

CSS
--color: #03021f;
/* rgb */ color: rgb(3, 2, 31);
/* oklch */ color: oklch(12.4% 0.065 274.4);
Tailwind
colors: {
  custom: {
    50: '#47485a',
    500: '#03021f',
    950: '#000000',
  },
}
SCSS
$custom: #03021f;
$custom-light: #47485a;
$custom-dark: #000000;
JSON
{
  "hex": "#03021f",
  "rgb": {
    "r": 3,
    "g": 2,
    "b": 31
  },
  "hsl": {
    "h": 242.069,
    "s": 87.879,
    "l": 6.471
  },
  "oklch": {
    "l": 0.124,
    "c": 0.06489,
    "h": 274.4
  },
  "luminance": 0.00162
}

Semantic roles & 50–950 ramp

primary
#03021F
secondary
#626518
accent
#FE2AF7
background
#F4F4F5
surface
#E6E6E9
border
#C2C2C5
text
#000004
muted
#777779

Preview Lab

Preview with #03021F

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

Preview Lab → · Contrast checker → · Palette generator →

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