#081C38#081C38

#081C38 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 22.8% C 0.060 H 257.3°. Best body text is #FFFFFF at 17.02:1 contrast (WCAG AA passes).

Color values

HEX#081C38
RGBrgb(8, 28, 56)
HSLhsl(215, 75%, 13%)
HSVhsv(215, 86%, 22%)
CMYKcmyk(85.7%, 50%, 0%, 78%)
CIE-LABlab(10.32, 3.92, -20.56)
CIE-LCHlch(10.32, 20.93, 280.81°)
OKLaboklab(22.8% -0.0132 -0.0588)
OKLCHoklch(22.8% 0.06 257.3)
XYZxyz(1.2289, 1.1675, 3.9012)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081C38 #382408
analogous
#083438 #081C38 #0C0838
triadic
#081C38 #38081C #1C3808
tetradic
#081C38 #380834 #382408 #08380C
square
#081C38 #380834 #382408 #08380C
split-complementary
#081C38 #380C08 #343808
monochromatic
#040D1B #040D1B #081C38 #10376E #1752A3

Accessibility & contrast

On white

17.02
#081C38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#081C38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081C38
17.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081C38#FFFFFF#000000##FFFFFF
##081C381.0017.021.2317.02
#FFFFFF17.021.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1E39
Deuteranopia (green-blind)
#061A37
Tritanopia (blue-blind)
#002327
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #081c38;
/* rgb */ color: rgb(8, 28, 56);
/* oklch */ color: oklch(22.8% 0.060 257.3);
Tailwind
colors: {
  custom: {
    50: '#4f576f',
    500: '#081c38',
    950: '#000000',
  },
}
SCSS
$custom: #081c38;
$custom-light: #4f576f;
$custom-dark: #000000;
JSON
{
  "hex": "#081c38",
  "rgb": {
    "r": 8,
    "g": 28,
    "b": 56
  },
  "hsl": {
    "h": 215,
    "s": 75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22795,
    "c": 0.06029,
    "h": 257.3
  },
  "luminance": 0.01168
}

Semantic roles & 50–950 ramp

primary
#081C38
secondary
#775525
accent
#A436F2
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020307
muted
#78787A

Preview Lab

Preview with #081C38

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

Preview Lab → · Contrast checker → · Palette generator →

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