#03011F#03011F

#03011F is a very dark, moderate blue. Relative luminance 0.001; OKLCH L 12.0% C 0.068 H 275.4°. Best body text is #FFFFFF at 20.43:1 contrast (WCAG AA passes).

Color values

HEX#03011F
RGBrgb(3, 1, 31)
HSLhsl(244, 94%, 6%)
HSVhsv(244, 97%, 12%)
CMYKcmyk(90.3%, 96.8%, 0%, 87.8%)
CIE-LABlab(1.26, 6.66, -16.03)
CIE-LCHlch(1.26, 17.36, 292.55°)
OKLaboklab(11.96% 0.0064 -0.0677)
OKLCHoklch(11.96% 0.068 275.4)
XYZxyz(0.2956, 0.1400, 1.3075)
Luminance0.0014 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#03011F #1D1F01
analogous
#010E1F #03011F #12011F
triadic
#03011F #1F0301 #011F03
tetradic
#03011F #1F010E #1D1F01 #011F12
square
#03011F #1F010E #1D1F01 #011F12
split-complementary
#03011F #1F1201 #0E1F01
monochromatic
#03011E #03011E #03011F #09035A #0E0596

Accessibility & contrast

On white

20.43
#03011F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #03011F
20.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##03011F#FFFFFF#000000##FFFFFF
##03011F1.0020.431.0320.43
#FFFFFF20.431.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #03011f;
/* rgb */ color: rgb(3, 1, 31);
/* oklch */ color: oklch(12.0% 0.068 275.4);
Tailwind
colors: {
  custom: {
    50: '#47475a',
    500: '#03011f',
    950: '#000000',
  },
}
SCSS
$custom: #03011f;
$custom-light: #47475a;
$custom-dark: #000000;
JSON
{
  "hex": "#03011f",
  "rgb": {
    "r": 3,
    "g": 1,
    "b": 31
  },
  "hsl": {
    "h": 244,
    "s": 93.75,
    "l": 6.275
  },
  "oklch": {
    "l": 0.11958,
    "c": 0.068,
    "h": 275.4
  },
  "luminance": 0.0014
}

Semantic roles & 50–950 ramp

primary
#03011F
secondary
#616715
accent
#FF29F1
background
#F4F3F5
surface
#E6E5E9
border
#C2C1C5
text
#000004
muted
#777779

Preview Lab

Preview with #03011F

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

Preview Lab → · Contrast checker → · Palette generator →

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