#08153C#08153C

#08153C is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.3% C 0.077 H 265.9°. Best body text is #FFFFFF at 17.75:1 contrast (WCAG AA passes).

Color values

HEX#08153C
RGBrgb(8, 21, 60)
HSLhsl(225, 76%, 13%)
HSVhsv(225, 87%, 24%)
CMYKcmyk(86.7%, 65%, 0%, 76.5%)
CIE-LABlab(8.25, 11.35, -26.75)
CIE-LCHlch(8.25, 29.06, 292.99°)
OKLaboklab(21.33% -0.0056 -0.0772)
OKLCHoklch(21.33% 0.077 265.9)
XYZxyz(1.1836, 0.9141, 4.3881)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08153C #3C2F08
analogous
#082F3C #08153C #15083C
triadic
#08153C #3C0815 #153C08
tetradic
#08153C #3C082F #3C2F08 #083C15
square
#08153C #3C082F #3C2F08 #083C15
split-complementary
#08153C #3C1508 #2F3C08
monochromatic
#04091B #04091B #08153C #0F2872 #163BA8

Accessibility & contrast

On white

17.75
#08153C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08153C
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08153C#FFFFFF#000000##FFFFFF
##08153C1.0017.751.1817.75
#FFFFFF17.751.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3D
Deuteranopia (green-blind)
#00163B
Tritanopia (blue-blind)
#001F25
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #08153c;
/* rgb */ color: rgb(8, 21, 60);
/* oklch */ color: oklch(21.3% 0.077 265.9);
Tailwind
colors: {
  custom: {
    50: '#515172',
    500: '#08153c',
    950: '#000000',
  },
}
SCSS
$custom: #08153c;
$custom-light: #515172;
$custom-dark: #000000;
JSON
{
  "hex": "#08153c",
  "rgb": {
    "r": 8,
    "g": 21,
    "b": 60
  },
  "hsl": {
    "h": 225,
    "s": 76.471,
    "l": 13.333
  },
  "oklch": {
    "l": 0.21327,
    "c": 0.07738,
    "h": 265.9
  },
  "luminance": 0.00914
}

Semantic roles & 50–950 ramp

primary
#08153C
secondary
#7B6525
accent
#C335F3
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020208
muted
#78787B

Preview Lab

Preview with #08153C

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

Preview Lab → · Contrast checker → · Palette generator →

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