#08153D#08153D

#08153D is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.4% C 0.079 H 266.0°. Best body text is #FFFFFF at 17.72:1 contrast (WCAG AA passes).

Color values

HEX#08153D
RGBrgb(8, 21, 61)
HSLhsl(225, 77%, 14%)
HSVhsv(225, 87%, 24%)
CMYKcmyk(86.9%, 65.6%, 0%, 76.1%)
CIE-LABlab(8.35, 11.81, -27.32)
CIE-LCHlch(8.35, 29.76, 293.38°)
OKLaboklab(21.43% -0.0055 -0.0788)
OKLCHoklch(21.43% 0.079 266)
XYZxyz(1.2103, 0.9247, 4.5287)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08153D #3D3008
analogous
#082F3D #08153D #15083D
triadic
#08153D #3D0815 #153D08
tetradic
#08153D #3D082F #3D3008 #083D15
square
#08153D #3D082F #3D3008 #083D15
split-complementary
#08153D #3D1508 #2F3D08
monochromatic
#04091B #04091B #08153D #0F2873 #163AA9

Accessibility & contrast

On white

17.72
#08153D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#08153D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08153D
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08153D#FFFFFF#000000##FFFFFF
##08153D1.0017.721.1917.72
#FFFFFF17.721.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3E
Deuteranopia (green-blind)
#00163C
Tritanopia (blue-blind)
#001F26
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #08153d;
/* rgb */ color: rgb(8, 21, 61);
/* oklch */ color: oklch(21.4% 0.079 266.0);
Tailwind
colors: {
  custom: {
    50: '#515173',
    500: '#08153d',
    950: '#000000',
  },
}
SCSS
$custom: #08153d;
$custom-light: #515173;
$custom-dark: #000000;
JSON
{
  "hex": "#08153d",
  "rgb": {
    "r": 8,
    "g": 21,
    "b": 61
  },
  "hsl": {
    "h": 225.283,
    "s": 76.812,
    "l": 13.529
  },
  "oklch": {
    "l": 0.21427,
    "c": 0.07902,
    "h": 266
  },
  "luminance": 0.00925
}

Semantic roles & 50–950 ramp

primary
#08153D
secondary
#7C6625
accent
#C534F3
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#020208
muted
#78787B

Preview Lab

Preview with #08153D

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

Preview Lab → · Contrast checker → · Palette generator →

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