#08183B#08183B

#08183B is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.0% C 0.071 H 263.2°. Best body text is #FFFFFF at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#08183B
RGBrgb(8, 24, 59)
HSLhsl(221, 76%, 13%)
HSVhsv(221, 86%, 23%)
CMYKcmyk(86.4%, 59.3%, 0%, 76.9%)
CIE-LABlab(9.16, 8.49, -24.57)
CIE-LCHlch(9.16, 25.99, 289.06°)
OKLaboklab(21.99% -0.0085 -0.0707)
OKLCHoklch(21.99% 0.071 263.2)
XYZxyz(1.2159, 1.0205, 4.2697)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08183B #3B2B08
analogous
#08313B #08183B #11083B
triadic
#08183B #3B0818 #183B08
tetradic
#08183B #3B0831 #3B2B08 #083B11
square
#08183B #3B0831 #3B2B08 #083B11
split-complementary
#08183B #3B1108 #313B08
monochromatic
#040B1B #040B1B #08183B #0F2E71 #1744A7

Accessibility & contrast

On white

17.44
#08183B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#08183B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08183B
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08183B#FFFFFF#000000##FFFFFF
##08183B1.0017.441.2017.44
#FFFFFF17.441.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031C3C
Deuteranopia (green-blind)
#00183A
Tritanopia (blue-blind)
#002026
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #08183b;
/* rgb */ color: rgb(8, 24, 59);
/* oklch */ color: oklch(22.0% 0.071 263.2);
Tailwind
colors: {
  custom: {
    50: '#505471',
    500: '#08183b',
    950: '#000000',
  },
}
SCSS
$custom: #08183b;
$custom-light: #505471;
$custom-dark: #000000;
JSON
{
  "hex": "#08183b",
  "rgb": {
    "r": 8,
    "g": 24,
    "b": 59
  },
  "hsl": {
    "h": 221.176,
    "s": 76.119,
    "l": 13.137
  },
  "oklch": {
    "l": 0.21985,
    "c": 0.07118,
    "h": 263.2
  },
  "luminance": 0.01021
}

Semantic roles & 50–950 ramp

primary
#08183B
secondary
#7A5F25
accent
#B735F3
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #08183B

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

Preview Lab → · Contrast checker → · Palette generator →

#08183B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva