#081F4B#081F4B

#081F4B is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.2% C 0.087 H 261.6°. Best body text is #FFFFFF at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#081F4B
RGBrgb(8, 31, 75)
HSLhsl(219, 81%, 16%)
HSVhsv(219, 89%, 29%)
CMYKcmyk(89.3%, 58.7%, 0%, 70.6%)
CIE-LABlab(12.86, 10.35, -29.81)
CIE-LCHlch(12.86, 31.55, 289.15°)
OKLaboklab(25.23% -0.0126 -0.0859)
OKLCHoklch(25.23% 0.087 261.6)
XYZxyz(1.8597, 1.5394, 6.8544)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081F4B #4B3408
analogous
#08414B #081F4B #13084B
triadic
#081F4B #4B081F #1F4B08
tetradic
#081F4B #4B0841 #4B3408 #084B13
square
#081F4B #4B0841 #4B3408 #084B13
split-complementary
#081F4B #4B1308 #414B08
monochromatic
#030B1C #030B1C #081F4B #0E3682 #144DBA

Accessibility & contrast

On white

16.06
#081F4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#081F4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081F4B
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081F4B#FFFFFF#000000##FFFFFF
##081F4B1.0016.061.3116.06
#FFFFFF16.061.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01244D
Deuteranopia (green-blind)
#001E4A
Tritanopia (blue-blind)
#002A31
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #081f4b;
/* rgb */ color: rgb(8, 31, 75);
/* oklch */ color: oklch(25.2% 0.087 261.6);
Tailwind
colors: {
  custom: {
    50: '#555a7e',
    500: '#081f4b',
    950: '#000000',
  },
}
SCSS
$custom: #081f4b;
$custom-light: #555a7e;
$custom-dark: #000000;
JSON
{
  "hex": "#081f4b",
  "rgb": {
    "r": 8,
    "g": 31,
    "b": 75
  },
  "hsl": {
    "h": 219.403,
    "s": 80.723,
    "l": 16.275
  },
  "oklch": {
    "l": 0.2523,
    "c": 0.08687,
    "h": 261.6
  },
  "luminance": 0.0154
}

Semantic roles & 50–950 ramp

primary
#081F4B
secondary
#896726
accent
#B331F7
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#03030A
muted
#78787C

Preview Lab

Preview with #081F4B

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

Preview Lab → · Contrast checker → · Palette generator →

#081F4B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva