#08153B#08153B

#08153B is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.2% C 0.076 H 265.7°. Best body text is #FFFFFF at 17.78:1 contrast (WCAG AA passes).

Color values

HEX#08153B
RGBrgb(8, 21, 59)
HSLhsl(225, 76%, 13%)
HSVhsv(225, 86%, 23%)
CMYKcmyk(86.4%, 64.4%, 0%, 76.9%)
CIE-LABlab(8.16, 10.89, -26.19)
CIE-LCHlch(8.16, 28.36, 292.58°)
OKLaboklab(21.23% -0.0056 -0.0755)
OKLCHoklch(21.23% 0.076 265.7)
XYZxyz(1.1574, 0.9036, 4.2502)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08153B #3B2E08
analogous
#082E3B #08153B #14083B
triadic
#08153B #3B0815 #153B08
tetradic
#08153B #3B082E #3B2E08 #083B14
square
#08153B #3B082E #3B2E08 #083B14
split-complementary
#08153B #3B1408 #2E3B08
monochromatic
#040A1B #040A1B #08153B #0F2871 #173BA7

Accessibility & contrast

On white

17.78
#08153B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#08153B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08153B
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08153B#FFFFFF#000000##FFFFFF
##08153B1.0017.781.1817.78
#FFFFFF17.781.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3C
Deuteranopia (green-blind)
#00163A
Tritanopia (blue-blind)
#001E25
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #08153b;
/* rgb */ color: rgb(8, 21, 59);
/* oklch */ color: oklch(21.2% 0.076 265.7);
Tailwind
colors: {
  custom: {
    50: '#515171',
    500: '#08153b',
    950: '#000000',
  },
}
SCSS
$custom: #08153b;
$custom-light: #515171;
$custom-dark: #000000;
JSON
{
  "hex": "#08153b",
  "rgb": {
    "r": 8,
    "g": 21,
    "b": 59
  },
  "hsl": {
    "h": 224.706,
    "s": 76.119,
    "l": 13.137
  },
  "oklch": {
    "l": 0.21227,
    "c": 0.07573,
    "h": 265.7
  },
  "luminance": 0.00904
}

Semantic roles & 50–950 ramp

primary
#08153B
secondary
#7A6425
accent
#C235F3
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020208
muted
#78787B

Preview Lab

Preview with #08153B

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

Preview Lab → · Contrast checker → · Palette generator →

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