#081339#081339

#081339 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.5% C 0.075 H 267.0°. Best body text is #FFFFFF at 18.06:1 contrast (WCAG AA passes).

Color values

HEX#081339
RGBrgb(8, 19, 57)
HSLhsl(227, 75%, 13%)
HSVhsv(227, 86%, 22%)
CMYKcmyk(86%, 66.7%, 0%, 77.6%)
CIE-LABlab(7.34, 11.50, -26.08)
CIE-LCHlch(7.34, 28.50, 293.79°)
OKLaboklab(20.54% -0.0039 -0.0753)
OKLCHoklch(20.54% 0.075 267)
XYZxyz(1.0713, 0.8127, 3.9705)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081339 #392E08
analogous
#082B39 #081339 #160839
triadic
#081339 #390813 #133908
tetradic
#081339 #39082B #392E08 #083916
square
#081339 #39082B #392E08 #083916
split-complementary
#081339 #391608 #2B3908
monochromatic
#04091B #04091B #081339 #10256F #1737A4

Accessibility & contrast

On white

18.06
#081339 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#081339 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081339
18.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081339#FFFFFF#000000##FFFFFF
##0813391.0018.061.1618.06
#FFFFFF18.061.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193A
Deuteranopia (green-blind)
#001438
Tritanopia (blue-blind)
#001C23
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #081339;
/* rgb */ color: rgb(8, 19, 57);
/* oklch */ color: oklch(20.5% 0.075 267.0);
Tailwind
colors: {
  custom: {
    50: '#505070',
    500: '#081339',
    950: '#000000',
  },
}
SCSS
$custom: #081339;
$custom-light: #505070;
$custom-dark: #000000;
JSON
{
  "hex": "#081339",
  "rgb": {
    "r": 8,
    "g": 19,
    "b": 57
  },
  "hsl": {
    "h": 226.531,
    "s": 75.385,
    "l": 12.745
  },
  "oklch": {
    "l": 0.20538,
    "c": 0.07543,
    "h": 267
  },
  "luminance": 0.00813
}

Semantic roles & 50–950 ramp

primary
#081339
secondary
#786525
accent
#C836F2
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #081339

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

Preview Lab → · Contrast checker → · Palette generator →

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