#081F47#081F47

#081F47 is a very dark, moderate blue. Relative luminance 0.015; OKLCH L 24.9% C 0.081 H 260.6°. Best body text is #FFFFFF at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#081F47
RGBrgb(8, 31, 71)
HSLhsl(218, 80%, 15%)
HSVhsv(218, 89%, 28%)
CMYKcmyk(88.7%, 56.3%, 0%, 72.2%)
CIE-LABlab(12.52, 8.51, -27.59)
CIE-LCHlch(12.52, 28.87, 287.15°)
OKLaboklab(24.87% -0.0132 -0.0794)
OKLCHoklch(24.87% 0.081 260.6)
XYZxyz(1.7270, 1.4863, 6.1559)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081F47 #473008
analogous
#083E47 #081F47 #100847
triadic
#081F47 #47081F #1F4708
tetradic
#081F47 #47083E #473008 #084710
square
#081F47 #47083E #473008 #084710
split-complementary
#081F47 #471008 #3E4708
monochromatic
#030C1C #030C1C #081F47 #0E377E #144FB5

Accessibility & contrast

On white

16.19
#081F47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#081F47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081F47
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081F47#FFFFFF#000000##FFFFFF
##081F471.0016.191.3016.19
#FFFFFF16.191.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062448
Deuteranopia (green-blind)
#001E46
Tritanopia (blue-blind)
#00292F
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #081f47;
/* rgb */ color: rgb(8, 31, 71);
/* oklch */ color: oklch(24.9% 0.081 260.6);
Tailwind
colors: {
  custom: {
    50: '#545a7a',
    500: '#081f47',
    950: '#000000',
  },
}
SCSS
$custom: #081f47;
$custom-light: #545a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#081f47",
  "rgb": {
    "r": 8,
    "g": 31,
    "b": 71
  },
  "hsl": {
    "h": 218.095,
    "s": 79.747,
    "l": 15.49
  },
  "oklch": {
    "l": 0.24868,
    "c": 0.0805,
    "h": 260.6
  },
  "luminance": 0.01487
}

Semantic roles & 50–950 ramp

primary
#081F47
secondary
#856226
accent
#AE32F6
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030309
muted
#78787B

Preview Lab

Preview with #081F47

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

Preview Lab → · Contrast checker → · Palette generator →

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