#081938#081938

#081938 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.0% C 0.065 H 261.1°. Best body text is #FFFFFF at 17.41:1 contrast (WCAG AA passes).

Color values

HEX#081938
RGBrgb(8, 25, 56)
HSLhsl(219, 75%, 13%)
HSVhsv(219, 86%, 22%)
CMYKcmyk(85.7%, 55.4%, 0%, 78%)
CIE-LABlab(9.26, 6.29, -22.26)
CIE-LCHlch(9.26, 23.13, 285.78°)
OKLaboklab(21.98% -0.01 -0.0639)
OKLCHoklch(21.98% 0.065 261.1)
XYZxyz(1.1613, 1.0323, 3.8787)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081938 #382708
analogous
#083138 #081938 #0F0838
triadic
#081938 #380819 #193808
tetradic
#081938 #380831 #382708 #08380F
square
#081938 #380831 #382708 #08380F
split-complementary
#081938 #380F08 #313808
monochromatic
#040C1B #040C1B #081938 #10316E #1749A3

Accessibility & contrast

On white

17.41
#081938 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#081938 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081938
17.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081938#FFFFFF#000000##FFFFFF
##0819381.0017.411.2117.41
#FFFFFF17.411.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081C39
Deuteranopia (green-blind)
#011837
Tritanopia (blue-blind)
#002025
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #081938;
/* rgb */ color: rgb(8, 25, 56);
/* oklch */ color: oklch(22.0% 0.065 261.1);
Tailwind
colors: {
  custom: {
    50: '#4f556f',
    500: '#081938',
    950: '#000000',
  },
}
SCSS
$custom: #081938;
$custom-light: #4f556f;
$custom-dark: #000000;
JSON
{
  "hex": "#081938",
  "rgb": {
    "r": 8,
    "g": 25,
    "b": 56
  },
  "hsl": {
    "h": 218.75,
    "s": 75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.21979,
    "c": 0.06464,
    "h": 261.1
  },
  "luminance": 0.01032
}

Semantic roles & 50–950 ramp

primary
#081938
secondary
#775A25
accent
#AF36F2
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #081938

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

Preview Lab → · Contrast checker → · Palette generator →

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