#081B38#081B38

#081B38 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.5% C 0.062 H 258.7°. Best body text is #FFFFFF at 17.15:1 contrast (WCAG AA passes).

Color values

HEX#081B38
RGBrgb(8, 27, 56)
HSLhsl(216, 75%, 13%)
HSVhsv(216, 86%, 22%)
CMYKcmyk(85.7%, 51.8%, 0%, 78%)
CIE-LABlab(9.96, 4.71, -21.13)
CIE-LCHlch(9.96, 21.65, 282.56°)
OKLaboklab(22.52% -0.0121 -0.0605)
OKLCHoklch(22.52% 0.062 258.7)
XYZxyz(1.2056, 1.1209, 3.8934)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081B38 #382508
analogous
#083338 #081B38 #0D0838
triadic
#081B38 #38081B #1B3808
tetradic
#081B38 #380833 #382508 #08380D
square
#081B38 #380833 #382508 #08380D
split-complementary
#081B38 #380D08 #333808
monochromatic
#040D1B #040D1B #081B38 #10356E #174FA3

Accessibility & contrast

On white

17.15
#081B38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#081B38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081B38
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081B38#FFFFFF#000000##FFFFFF
##081B381.0017.151.2217.15
#FFFFFF17.151.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1E39
Deuteranopia (green-blind)
#041937
Tritanopia (blue-blind)
#002226
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #081b38;
/* rgb */ color: rgb(8, 27, 56);
/* oklch */ color: oklch(22.5% 0.062 258.7);
Tailwind
colors: {
  custom: {
    50: '#4f566f',
    500: '#081b38',
    950: '#000000',
  },
}
SCSS
$custom: #081b38;
$custom-light: #4f566f;
$custom-dark: #000000;
JSON
{
  "hex": "#081b38",
  "rgb": {
    "r": 8,
    "g": 27,
    "b": 56
  },
  "hsl": {
    "h": 216.25,
    "s": 75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.2252,
    "c": 0.06171,
    "h": 258.7
  },
  "luminance": 0.01121
}

Semantic roles & 50–950 ramp

primary
#081B38
secondary
#775625
accent
#A736F2
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020307
muted
#78787A

Preview Lab

Preview with #081B38

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

Preview Lab → · Contrast checker → · Palette generator →

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