#08183E#08183E

#08183E is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.3% C 0.076 H 263.9°. Best body text is #FFFFFF at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#08183E
RGBrgb(8, 24, 62)
HSLhsl(222, 77%, 14%)
HSVhsv(222, 87%, 24%)
CMYKcmyk(87.1%, 61.3%, 0%, 75.7%)
CIE-LABlab(9.42, 9.88, -26.29)
CIE-LCHlch(9.42, 28.08, 290.59°)
OKLaboklab(22.26% -0.0081 -0.0757)
OKLCHoklch(22.26% 0.076 263.9)
XYZxyz(1.2960, 1.0525, 4.6914)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08183E #3E2E08
analogous
#08333E #08183E #13083E
triadic
#08183E #3E0818 #183E08
tetradic
#08183E #3E0833 #3E2E08 #083E13
square
#08183E #3E0833 #3E2E08 #083E13
split-complementary
#08183E #3E1308 #333E08
monochromatic
#030A1B #030A1B #08183E #0F2D74 #1642AA

Accessibility & contrast

On white

17.35
#08183E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#08183E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08183E
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08183E#FFFFFF#000000##FFFFFF
##08183E1.0017.351.2117.35
#FFFFFF17.351.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D3F
Deuteranopia (green-blind)
#00183D
Tritanopia (blue-blind)
#002128
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #08183e;
/* rgb */ color: rgb(8, 24, 62);
/* oklch */ color: oklch(22.3% 0.076 263.9);
Tailwind
colors: {
  custom: {
    50: '#515474',
    500: '#08183e',
    950: '#000000',
  },
}
SCSS
$custom: #08183e;
$custom-light: #515474;
$custom-dark: #000000;
JSON
{
  "hex": "#08183e",
  "rgb": {
    "r": 8,
    "g": 24,
    "b": 62
  },
  "hsl": {
    "h": 222.222,
    "s": 77.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.22265,
    "c": 0.07617,
    "h": 263.9
  },
  "luminance": 0.01053
}

Semantic roles & 50–950 ramp

primary
#08183E
secondary
#7D6325
accent
#BB34F4
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#020208
muted
#78787B

Preview Lab

Preview with #08183E

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

Preview Lab → · Contrast checker → · Palette generator →

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