#03051F#03051F

#03051F is a very dark, muted blue. Relative luminance 0.002; OKLCH L 13.6% C 0.057 H 270.9°. Best body text is #FFFFFF at 20.09:1 contrast (WCAG AA passes).

Color values

HEX#03051F
RGBrgb(3, 5, 31)
HSLhsl(236, 82%, 7%)
HSVhsv(236, 90%, 12%)
CMYKcmyk(90.3%, 83.9%, 0%, 87.8%)
CIE-LABlab(2.05, 5.06, -14.85)
CIE-LCHlch(2.05, 15.69, 288.82°)
OKLaboklab(13.57% 0.0009 -0.0569)
OKLCHoklch(13.57% 0.057 270.9)
XYZxyz(0.3391, 0.2268, 1.3220)
Luminance0.0023 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#03051F #1F1D03
analogous
#03131F #03051F #0F031F
triadic
#03051F #1F0305 #051F03
tetradic
#03051F #1F0313 #1F1D03 #031F0F
square
#03051F #1F0313 #1F1D03 #031F0F
split-complementary
#03051F #1F0F03 #131F03
monochromatic
#03051C #03051C #03051F #080E57 #0E178F

Accessibility & contrast

On white

20.09
#03051F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#03051F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #03051F
20.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##03051F#FFFFFF#000000##FFFFFF
##03051F1.0020.091.0520.09
#FFFFFF20.091.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF20.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000920
Deuteranopia (green-blind)
#00061E
Tritanopia (blue-blind)
#000B10
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #03051f;
/* rgb */ color: rgb(3, 5, 31);
/* oklch */ color: oklch(13.6% 0.057 270.9);
Tailwind
colors: {
  custom: {
    50: '#47495a',
    500: '#03051f',
    950: '#000000',
  },
}
SCSS
$custom: #03051f;
$custom-light: #47495a;
$custom-dark: #000000;
JSON
{
  "hex": "#03051f",
  "rgb": {
    "r": 3,
    "g": 5,
    "b": 31
  },
  "hsl": {
    "h": 235.714,
    "s": 82.353,
    "l": 6.667
  },
  "oklch": {
    "l": 0.13566,
    "c": 0.05692,
    "h": 270.9
  },
  "luminance": 0.00227
}

Semantic roles & 50–950 ramp

primary
#03051F
secondary
#635E1B
accent
#EA2FF9
background
#F4F4F5
surface
#E6E6E9
border
#C2C2C5
text
#000004
muted
#777779

Preview Lab

Preview with #03051F

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

Preview Lab → · Contrast checker → · Palette generator →

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