#081438#081438

#081438 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.7% C 0.072 H 266.1°. Best body text is #FFFFFF at 17.99:1 contrast (WCAG AA passes).

Color values

HEX#081438
RGBrgb(8, 20, 56)
HSLhsl(225, 75%, 13%)
HSVhsv(225, 86%, 22%)
CMYKcmyk(85.7%, 64.3%, 0%, 78%)
CIE-LABlab(7.56, 10.28, -25.00)
CIE-LCHlch(7.56, 27.03, 292.36°)
OKLaboklab(20.68% -0.0049 -0.0721)
OKLCHoklch(20.68% 0.072 266.1)
XYZxyz(1.0639, 0.8373, 3.8462)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081438 #382C08
analogous
#082C38 #081438 #140838
triadic
#081438 #380814 #143808
tetradic
#081438 #38082C #382C08 #083814
square
#081438 #38082C #382C08 #083814
split-complementary
#081438 #381408 #2C3808
monochromatic
#040A1B #040A1B #081438 #10276E #173AA3

Accessibility & contrast

On white

17.99
#081438 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#081438 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081438
17.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081438#FFFFFF#000000##FFFFFF
##0814381.0017.991.1717.99
#FFFFFF17.991.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001939
Deuteranopia (green-blind)
#001537
Tritanopia (blue-blind)
#001D23
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #081438;
/* rgb */ color: rgb(8, 20, 56);
/* oklch */ color: oklch(20.7% 0.072 266.1);
Tailwind
colors: {
  custom: {
    50: '#50506f',
    500: '#081438',
    950: '#000000',
  },
}
SCSS
$custom: #081438;
$custom-light: #50506f;
$custom-dark: #000000;
JSON
{
  "hex": "#081438",
  "rgb": {
    "r": 8,
    "g": 20,
    "b": 56
  },
  "hsl": {
    "h": 225,
    "s": 75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.20684,
    "c": 0.07224,
    "h": 266.1
  },
  "luminance": 0.00837
}

Semantic roles & 50–950 ramp

primary
#081438
secondary
#776225
accent
#C336F2
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #081438

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

Preview Lab → · Contrast checker → · Palette generator →

#081438 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva