#03001F#03001F

#03001F is a very dark, moderate blue. Relative luminance 0.001; OKLCH L 11.5% C 0.071 H 276.3°. Best body text is #FFFFFF at 20.52:1 contrast (WCAG AA passes).

Color values

HEX#03001F
RGBrgb(3, 0, 31)
HSLhsl(246, 100%, 6%)
HSVhsv(246, 100%, 12%)
CMYKcmyk(90.3%, 100%, 0%, 87.8%)
CIE-LABlab(1.07, 7.06, -16.33)
CIE-LCHlch(1.07, 17.79, 293.38°)
OKLaboklab(11.48% 0.0079 -0.071)
OKLCHoklch(11.48% 0.071 276.3)
XYZxyz(0.2848, 0.1183, 1.3039)
Luminance0.0012 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#03001F #1C1F00
analogous
#000C1F #03001F #12001F
triadic
#03001F #1F0300 #001F03
tetradic
#03001F #1F000C #1C1F00 #001F12
square
#03001F #1F000C #1C1F00 #001F12
split-complementary
#03001F #1F1200 #0C1F00
monochromatic
#03001F #03001F #03001F #09005C #0F0099

Accessibility & contrast

On white

20.52
#03001F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.02
#03001F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #03001F
20.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##03001F#FFFFFF#000000##FFFFFF
##03001F1.0020.521.0220.52
#FFFFFF20.521.0021.001.00
#0000001.0221.001.0021.00
##FFFFFF20.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000520
Deuteranopia (green-blind)
#00031E
Tritanopia (blue-blind)
#00060D
Achromatopsia (no color)
#040404

Design tokens & code

CSS
--color: #03001f;
/* rgb */ color: rgb(3, 0, 31);
/* oklch */ color: oklch(11.5% 0.071 276.3);
Tailwind
colors: {
  custom: {
    50: '#47475a',
    500: '#03001f',
    950: '#000000',
  },
}
SCSS
$custom: #03001f;
$custom-light: #47475a;
$custom-dark: #000000;
JSON
{
  "hex": "#03001f",
  "rgb": {
    "r": 3,
    "g": 0,
    "b": 31
  },
  "hsl": {
    "h": 245.806,
    "s": 100,
    "l": 6.078
  },
  "oklch": {
    "l": 0.11481,
    "c": 0.0714,
    "h": 276.3
  },
  "luminance": 0.00118
}

Semantic roles & 50–950 ramp

primary
#03001F
secondary
#606812
accent
#FF29EA
background
#F4F3F5
surface
#E6E5E9
border
#C2C1C5
text
#000004
muted
#777779

Preview Lab

Preview with #03001F

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

Preview Lab → · Contrast checker → · Palette generator →

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