#08153A#08153A

#08153A is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.1% C 0.074 H 265.6°. Best body text is #FFFFFF at 17.82:1 contrast (WCAG AA passes).

Color values

HEX#08153A
RGBrgb(8, 21, 58)
HSLhsl(224, 76%, 13%)
HSVhsv(224, 86%, 23%)
CMYKcmyk(86.2%, 63.8%, 0%, 77.3%)
CIE-LABlab(8.07, 10.43, -25.62)
CIE-LCHlch(8.07, 27.66, 292.16°)
OKLaboklab(21.13% -0.0057 -0.0738)
OKLCHoklch(21.13% 0.074 265.6)
XYZxyz(1.1318, 0.8933, 4.1149)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08153A #3A2D08
analogous
#082E3A #08153A #14083A
triadic
#08153A #3A0815 #153A08
tetradic
#08153A #3A082E #3A2D08 #083A14
square
#08153A #3A082E #3A2D08 #083A14
split-complementary
#08153A #3A1408 #2E3A08
monochromatic
#040A1B #040A1B #08153A #0F2870 #173CA6

Accessibility & contrast

On white

17.82
#08153A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08153A
17.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08153A#FFFFFF#000000##FFFFFF
##08153A1.0017.821.1817.82
#FFFFFF17.821.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3B
Deuteranopia (green-blind)
#001539
Tritanopia (blue-blind)
#001E24
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #08153a;
/* rgb */ color: rgb(8, 21, 58);
/* oklch */ color: oklch(21.1% 0.074 265.6);
Tailwind
colors: {
  custom: {
    50: '#505170',
    500: '#08153a',
    950: '#000000',
  },
}
SCSS
$custom: #08153a;
$custom-light: #505170;
$custom-dark: #000000;
JSON
{
  "hex": "#08153a",
  "rgb": {
    "r": 8,
    "g": 21,
    "b": 58
  },
  "hsl": {
    "h": 224.4,
    "s": 75.758,
    "l": 12.941
  },
  "oklch": {
    "l": 0.21129,
    "c": 0.07406,
    "h": 265.6
  },
  "luminance": 0.00893
}

Semantic roles & 50–950 ramp

primary
#08153A
secondary
#796325
accent
#C135F2
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #08153A

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

Preview Lab → · Contrast checker → · Palette generator →

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