#081C4B#081C4B

#081C4B is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.5% C 0.091 H 263.6°. Best body text is #FFFFFF at 16.43:1 contrast (WCAG AA passes).

Color values

HEX#081C4B
RGBrgb(8, 28, 75)
HSLhsl(222, 81%, 16%)
HSVhsv(222, 89%, 29%)
CMYKcmyk(89.3%, 62.7%, 0%, 70.6%)
CIE-LABlab(11.89, 12.68, -31.38)
CIE-LCHlch(11.89, 33.84, 292.01°)
OKLaboklab(24.5% -0.0102 -0.0906)
OKLCHoklch(24.5% 0.091 263.6)
XYZxyz(1.7849, 1.3899, 6.8295)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081C4B #4B3708
analogous
#083E4B #081C4B #16084B
triadic
#081C4B #4B081C #1C4B08
tetradic
#081C4B #4B083E #4B3708 #084B16
square
#081C4B #4B083E #4B3708 #084B16
split-complementary
#081C4B #4B1608 #3E4B08
monochromatic
#030A1C #030A1C #081C4B #0E3182 #1445BA

Accessibility & contrast

On white

16.43
#081C4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#081C4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081C4B
16.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081C4B#FFFFFF#000000##FFFFFF
##081C4B1.0016.431.2816.43
#FFFFFF16.431.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224D
Deuteranopia (green-blind)
#001C4A
Tritanopia (blue-blind)
#002830
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #081c4b;
/* rgb */ color: rgb(8, 28, 75);
/* oklch */ color: oklch(24.5% 0.091 263.6);
Tailwind
colors: {
  custom: {
    50: '#55577e',
    500: '#081c4b',
    950: '#000000',
  },
}
SCSS
$custom: #081c4b;
$custom-light: #55577e;
$custom-dark: #000000;
JSON
{
  "hex": "#081c4b",
  "rgb": {
    "r": 8,
    "g": 28,
    "b": 75
  },
  "hsl": {
    "h": 222.09,
    "s": 80.723,
    "l": 16.275
  },
  "oklch": {
    "l": 0.24499,
    "c": 0.09121,
    "h": 263.6
  },
  "luminance": 0.0139
}

Semantic roles & 50–950 ramp

primary
#081C4B
secondary
#896B26
accent
#BC31F7
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#03030A
muted
#78787C

Preview Lab

Preview with #081C4B

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

Preview Lab → · Contrast checker → · Palette generator →

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