#081937#081937

#081937 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.9% C 0.063 H 260.7°. Best body text is #FFFFFF at 17.43:1 contrast (WCAG AA passes).

Color values

HEX#081937
RGBrgb(8, 25, 55)
HSLhsl(218, 75%, 12%)
HSVhsv(218, 85%, 22%)
CMYKcmyk(85.5%, 54.5%, 0%, 78.4%)
CIE-LABlab(9.18, 5.83, -21.67)
CIE-LCHlch(9.18, 22.44, 285.06°)
OKLaboklab(21.89% -0.0102 -0.0621)
OKLCHoklch(21.89% 0.063 260.7)
XYZxyz(1.1371, 1.0226, 3.7511)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081937 #372608
analogous
#083137 #081937 #0F0837
triadic
#081937 #370819 #193708
tetradic
#081937 #370831 #372608 #08370F
square
#081937 #370831 #372608 #08370F
split-complementary
#081937 #370F08 #313708
monochromatic
#040C1B #040C1B #081937 #10316C #184AA2

Accessibility & contrast

On white

17.43
#081937 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#081937 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081937
17.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081937#FFFFFF#000000##FFFFFF
##0819371.0017.431.2017.43
#FFFFFF17.431.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091C38
Deuteranopia (green-blind)
#021836
Tritanopia (blue-blind)
#002025
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #081937;
/* rgb */ color: rgb(8, 25, 55);
/* oklch */ color: oklch(21.9% 0.063 260.7);
Tailwind
colors: {
  custom: {
    50: '#4f556e',
    500: '#081937',
    950: '#000000',
  },
}
SCSS
$custom: #081937;
$custom-light: #4f556e;
$custom-dark: #000000;
JSON
{
  "hex": "#081937",
  "rgb": {
    "r": 8,
    "g": 25,
    "b": 55
  },
  "hsl": {
    "h": 218.298,
    "s": 74.603,
    "l": 12.353
  },
  "oklch": {
    "l": 0.21893,
    "c": 0.06296,
    "h": 260.7
  },
  "luminance": 0.01023
}

Semantic roles & 50–950 ramp

primary
#081937
secondary
#765925
accent
#AE37F1
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #081937

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

Preview Lab → · Contrast checker → · Palette generator →

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