#03081F#03081F

#03081F is a very dark, muted blue. Relative luminance 0.003; OKLCH L 14.6% C 0.051 H 266.7°. Best body text is #FFFFFF at 19.84:1 contrast (WCAG AA passes).

Color values

HEX#03081F
RGBrgb(3, 8, 31)
HSLhsl(229, 82%, 7%)
HSVhsv(229, 90%, 12%)
CMYKcmyk(90.3%, 74.2%, 0%, 87.8%)
CIE-LABlab(2.64, 3.86, -13.96)
CIE-LCHlch(2.64, 14.48, 285.44°)
OKLaboklab(14.56% -0.0029 -0.0504)
OKLCHoklch(14.56% 0.051 266.7)
XYZxyz(0.3716, 0.2919, 1.3328)
Luminance0.0029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#03081F #1F1A03
analogous
#03161F #03081F #0C031F
triadic
#03081F #1F0308 #081F03
tetradic
#03081F #1F0316 #1F1A03 #031F0C
square
#03081F #1F0316 #1F1A03 #031F0C
split-complementary
#03081F #1F0C03 #161F03
monochromatic
#03071C #03071C #03081F #081657 #0E258F

Accessibility & contrast

On white

19.84
#03081F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#03081F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #03081F
19.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##03081F#FFFFFF#000000##FFFFFF
##03081F1.0019.841.0619.84
#FFFFFF19.841.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B20
Deuteranopia (green-blind)
#00081F
Tritanopia (blue-blind)
#000E12
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #03081f;
/* rgb */ color: rgb(3, 8, 31);
/* oklch */ color: oklch(14.6% 0.051 266.7);
Tailwind
colors: {
  custom: {
    50: '#474a5a',
    500: '#03081f',
    950: '#000000',
  },
}
SCSS
$custom: #03081f;
$custom-light: #474a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#03081f",
  "rgb": {
    "r": 3,
    "g": 8,
    "b": 31
  },
  "hsl": {
    "h": 229.286,
    "s": 82.353,
    "l": 6.667
  },
  "oklch": {
    "l": 0.14561,
    "c": 0.05053,
    "h": 266.7
  },
  "luminance": 0.00292
}

Semantic roles & 50–950 ramp

primary
#03081F
secondary
#63561B
accent
#D52FF9
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000104
muted
#777779

Preview Lab

Preview with #03081F

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

Preview Lab → · Contrast checker → · Palette generator →

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