#081F43#081F43

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

Color values

HEX#081F43
RGBrgb(8, 31, 67)
HSLhsl(217, 79%, 15%)
HSVhsv(217, 88%, 26%)
CMYKcmyk(88.1%, 53.7%, 0%, 73.7%)
CIE-LABlab(12.20, 6.67, -25.32)
CIE-LCHlch(12.20, 26.18, 284.76°)
OKLaboklab(24.52% -0.0139 -0.0727)
OKLCHoklch(24.52% 0.074 259.2)
XYZxyz(1.6029, 1.4367, 5.5019)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081F43 #432C08
analogous
#083D43 #081F43 #0E0843
triadic
#081F43 #43081F #1F4308
tetradic
#081F43 #43083D #432C08 #08430E
square
#081F43 #43083D #432C08 #08430E
split-complementary
#081F43 #430E08 #3D4308
monochromatic
#030D1B #030D1B #081F43 #0F387A #1552B0

Accessibility & contrast

On white

16.31
#081F43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #081F43
16.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081F43#FFFFFF#000000##FFFFFF
##081F431.0016.311.2916.31
#FFFFFF16.311.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2344
Deuteranopia (green-blind)
#001D42
Tritanopia (blue-blind)
#00282D
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #081f43;
/* rgb */ color: rgb(8, 31, 67);
/* oklch */ color: oklch(24.5% 0.074 259.2);
Tailwind
colors: {
  custom: {
    50: '#525a77',
    500: '#081f43',
    950: '#000000',
  },
}
SCSS
$custom: #081f43;
$custom-light: #525a77;
$custom-dark: #000000;
JSON
{
  "hex": "#081f43",
  "rgb": {
    "r": 8,
    "g": 31,
    "b": 67
  },
  "hsl": {
    "h": 216.61,
    "s": 78.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.24519,
    "c": 0.07405,
    "h": 259.2
  },
  "luminance": 0.01437
}

Semantic roles & 50–950 ramp

primary
#081F43
secondary
#815E25
accent
#A933F5
background
#F4F5F7
surface
#E8E9ED
border
#C4C5C8
text
#030309
muted
#78787B

Preview Lab

Preview with #081F43

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

Preview Lab → · Contrast checker → · Palette generator →

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