#08133E#08133E

#08133E is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.1% C 0.084 H 267.4°. Best body text is #FFFFFF at 17.90:1 contrast (WCAG AA passes).

Color values

HEX#08133E
RGBrgb(8, 19, 62)
HSLhsl(228, 77%, 14%)
HSVhsv(228, 87%, 24%)
CMYKcmyk(87.1%, 69.4%, 0%, 75.7%)
CIE-LABlab(7.81, 13.85, -28.90)
CIE-LCHlch(7.81, 32.05, 295.61°)
OKLaboklab(21.06% -0.0038 -0.0835)
OKLCHoklch(21.06% 0.084 267.4)
XYZxyz(1.2022, 0.8650, 4.6601)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08133E #3E3308
analogous
#082E3E #08133E #18083E
triadic
#08133E #3E0813 #133E08
tetradic
#08133E #3E082E #3E3308 #083E18
square
#08133E #3E082E #3E3308 #083E18
split-complementary
#08133E #3E1808 #2E3E08
monochromatic
#03081B #03081B #08133E #0F2474 #1634AA

Accessibility & contrast

On white

17.90
#08133E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#08133E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08133E
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08133E#FFFFFF#000000##FFFFFF
##08133E1.0017.901.1717.90
#FFFFFF17.901.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3F
Deuteranopia (green-blind)
#00153D
Tritanopia (blue-blind)
#001E26
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #08133e;
/* rgb */ color: rgb(8, 19, 62);
/* oklch */ color: oklch(21.1% 0.084 267.4);
Tailwind
colors: {
  custom: {
    50: '#525074',
    500: '#08133e',
    950: '#000000',
  },
}
SCSS
$custom: #08133e;
$custom-light: #525074;
$custom-dark: #000000;
JSON
{
  "hex": "#08133e",
  "rgb": {
    "r": 8,
    "g": 19,
    "b": 62
  },
  "hsl": {
    "h": 227.778,
    "s": 77.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.21057,
    "c": 0.08362,
    "h": 267.4
  },
  "luminance": 0.00865
}

Semantic roles & 50–950 ramp

primary
#08133E
secondary
#7D6B25
accent
#CD34F4
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #08133E

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

Preview Lab → · Contrast checker → · Palette generator →

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