#08183D#08183D

#08183D is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.2% C 0.075 H 263.7°. Best body text is #FFFFFF at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#08183D
RGBrgb(8, 24, 61)
HSLhsl(222, 77%, 14%)
HSVhsv(222, 87%, 24%)
CMYKcmyk(86.9%, 60.7%, 0%, 76.1%)
CIE-LABlab(9.33, 9.41, -25.71)
CIE-LCHlch(9.33, 27.38, 290.10°)
OKLaboklab(22.17% -0.0082 -0.0741)
OKLCHoklch(22.17% 0.075 263.7)
XYZxyz(1.2688, 1.0417, 4.5482)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08183D #3D2D08
analogous
#08323D #08183D #12083D
triadic
#08183D #3D0818 #183D08
tetradic
#08183D #3D0832 #3D2D08 #083D12
square
#08183D #3D0832 #3D2D08 #083D12
split-complementary
#08183D #3D1208 #323D08
monochromatic
#040B1B #040B1B #08183D #0F2D73 #1643A9

Accessibility & contrast

On white

17.38
#08183D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08183D
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08183D#FFFFFF#000000##FFFFFF
##08183D1.0017.381.2117.38
#FFFFFF17.381.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011D3E
Deuteranopia (green-blind)
#00183C
Tritanopia (blue-blind)
#002127
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #08183d;
/* rgb */ color: rgb(8, 24, 61);
/* oklch */ color: oklch(22.2% 0.075 263.7);
Tailwind
colors: {
  custom: {
    50: '#515473',
    500: '#08183d',
    950: '#000000',
  },
}
SCSS
$custom: #08183d;
$custom-light: #515473;
$custom-dark: #000000;
JSON
{
  "hex": "#08183d",
  "rgb": {
    "r": 8,
    "g": 24,
    "b": 61
  },
  "hsl": {
    "h": 221.887,
    "s": 76.812,
    "l": 13.529
  },
  "oklch": {
    "l": 0.22171,
    "c": 0.07451,
    "h": 263.7
  },
  "luminance": 0.01042
}

Semantic roles & 50–950 ramp

primary
#08183D
secondary
#7C6225
accent
#BA34F3
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#020208
muted
#78787B

Preview Lab

Preview with #08183D

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

Preview Lab → · Contrast checker → · Palette generator →

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