#081F44#081F44

#081F44 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.6% C 0.076 H 259.6°. Best body text is #FFFFFF at 16.28:1 contrast (WCAG AA passes).

Color values

HEX#081F44
RGBrgb(8, 31, 68)
HSLhsl(217, 79%, 15%)
HSVhsv(217, 88%, 27%)
CMYKcmyk(88.2%, 54.4%, 0%, 73.3%)
CIE-LABlab(12.28, 7.13, -25.89)
CIE-LCHlch(12.28, 26.85, 285.40°)
OKLaboklab(24.61% -0.0137 -0.0744)
OKLCHoklch(24.61% 0.076 259.6)
XYZxyz(1.6331, 1.4488, 5.6613)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081F44 #442D08
analogous
#083D44 #081F44 #0F0844
triadic
#081F44 #44081F #1F4408
tetradic
#081F44 #44083D #442D08 #08440F
square
#081F44 #44083D #442D08 #08440F
split-complementary
#081F44 #440F08 #3D4408
monochromatic
#030C1B #030C1B #081F44 #0E387B #1551B2

Accessibility & contrast

On white

16.28
#081F44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#081F44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081F44
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081F44#FFFFFF#000000##FFFFFF
##081F441.0016.281.2916.28
#FFFFFF16.281.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2345
Deuteranopia (green-blind)
#001E43
Tritanopia (blue-blind)
#00282E
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #081f44;
/* rgb */ color: rgb(8, 31, 68);
/* oklch */ color: oklch(24.6% 0.076 259.6);
Tailwind
colors: {
  custom: {
    50: '#535a78',
    500: '#081f44',
    950: '#000000',
  },
}
SCSS
$custom: #081f44;
$custom-light: #535a78;
$custom-dark: #000000;
JSON
{
  "hex": "#081f44",
  "rgb": {
    "r": 8,
    "g": 31,
    "b": 68
  },
  "hsl": {
    "h": 217,
    "s": 78.947,
    "l": 14.902
  },
  "oklch": {
    "l": 0.24605,
    "c": 0.07567,
    "h": 259.6
  },
  "luminance": 0.01449
}

Semantic roles & 50–950 ramp

primary
#081F44
secondary
#825F26
accent
#AB32F5
background
#F5F5F7
surface
#E8E9ED
border
#C4C5C8
text
#030309
muted
#78787B

Preview Lab

Preview with #081F44

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

Preview Lab → · Contrast checker → · Palette generator →

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