#081B4B#081B4B

#081B4B is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.3% C 0.093 H 264.1°. Best body text is #FFFFFF at 16.55:1 contrast (WCAG AA passes).

Color values

HEX#081B4B
RGBrgb(8, 27, 75)
HSLhsl(223, 81%, 16%)
HSVhsv(223, 89%, 29%)
CMYKcmyk(89.3%, 64%, 0%, 70.6%)
CIE-LABlab(11.57, 13.46, -31.89)
CIE-LCHlch(11.57, 34.62, 292.89°)
OKLaboklab(24.26% -0.0095 -0.0922)
OKLCHoklch(24.26% 0.093 264.1)
XYZxyz(1.7616, 1.3433, 6.8217)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081B4B #4B3808
analogous
#083D4B #081B4B #17084B
triadic
#081B4B #4B081B #1B4B08
tetradic
#081B4B #4B083D #4B3808 #084B17
square
#081B4B #4B083D #4B3808 #084B17
split-complementary
#081B4B #4B1708 #3D4B08
monochromatic
#030A1C #030A1C #081B4B #0E2F82 #1443BA

Accessibility & contrast

On white

16.55
#081B4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#081B4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081B4B
16.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081B4B#FFFFFF#000000##FFFFFF
##081B4B1.0016.551.2716.55
#FFFFFF16.551.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #081b4b;
/* rgb */ color: rgb(8, 27, 75);
/* oklch */ color: oklch(24.3% 0.093 264.1);
Tailwind
colors: {
  custom: {
    50: '#55567e',
    500: '#081b4b',
    950: '#000000',
  },
}
SCSS
$custom: #081b4b;
$custom-light: #55567e;
$custom-dark: #000000;
JSON
{
  "hex": "#081b4b",
  "rgb": {
    "r": 8,
    "g": 27,
    "b": 75
  },
  "hsl": {
    "h": 222.985,
    "s": 80.723,
    "l": 16.275
  },
  "oklch": {
    "l": 0.24261,
    "c": 0.09265,
    "h": 264.1
  },
  "luminance": 0.01343
}

Semantic roles & 50–950 ramp

primary
#081B4B
secondary
#896D26
accent
#BF31F7
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#03030A
muted
#78787C

Preview Lab

Preview with #081B4B

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

Preview Lab → · Contrast checker → · Palette generator →

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