#08153E#08153E

#08153E is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.5% C 0.081 H 266.1°. Best body text is #FFFFFF at 17.69:1 contrast (WCAG AA passes).

Color values

HEX#08153E
RGBrgb(8, 21, 62)
HSLhsl(226, 77%, 14%)
HSVhsv(226, 87%, 24%)
CMYKcmyk(87.1%, 66.1%, 0%, 75.7%)
CIE-LABlab(8.44, 12.27, -27.87)
CIE-LCHlch(8.44, 30.46, 293.76°)
OKLaboklab(21.53% -0.0054 -0.0805)
OKLCHoklch(21.53% 0.081 266.1)
XYZxyz(1.2375, 0.9356, 4.6719)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08153E #3E3108
analogous
#08303E #08153E #16083E
triadic
#08153E #3E0815 #153E08
tetradic
#08153E #3E0830 #3E3108 #083E16
square
#08153E #3E0830 #3E3108 #083E16
split-complementary
#08153E #3E1608 #303E08
monochromatic
#03091B #03091B #08153E #0F2774 #163AAA

Accessibility & contrast

On white

17.69
#08153E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08153E
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08153E#FFFFFF#000000##FFFFFF
##08153E1.0017.691.1917.69
#FFFFFF17.691.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3F
Deuteranopia (green-blind)
#00163D
Tritanopia (blue-blind)
#001F27
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #08153e;
/* rgb */ color: rgb(8, 21, 62);
/* oklch */ color: oklch(21.5% 0.081 266.1);
Tailwind
colors: {
  custom: {
    50: '#525174',
    500: '#08153e',
    950: '#000000',
  },
}
SCSS
$custom: #08153e;
$custom-light: #525174;
$custom-dark: #000000;
JSON
{
  "hex": "#08153e",
  "rgb": {
    "r": 8,
    "g": 21,
    "b": 62
  },
  "hsl": {
    "h": 225.556,
    "s": 77.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.21528,
    "c": 0.08065,
    "h": 266.1
  },
  "luminance": 0.00936
}

Semantic roles & 50–950 ramp

primary
#08153E
secondary
#7D6825
accent
#C634F4
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#020208
muted
#78787B

Preview Lab

Preview with #08153E

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

Preview Lab → · Contrast checker → · Palette generator →

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