#08133F#08133F

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

Color values

HEX#08133F
RGBrgb(8, 19, 63)
HSLhsl(228, 77%, 14%)
HSVhsv(228, 87%, 25%)
CMYKcmyk(87.3%, 69.8%, 0%, 75.3%)
CIE-LABlab(7.91, 14.31, -29.45)
CIE-LCHlch(7.91, 32.74, 295.91°)
OKLaboklab(21.16% -0.0038 -0.0851)
OKLCHoklch(21.16% 0.085 267.4)
XYZxyz(1.2299, 0.8761, 4.8059)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08133F #3F3408
analogous
#082F3F #08133F #19083F
triadic
#08133F #3F0813 #133F08
tetradic
#08133F #3F082F #3F3408 #083F19
square
#08133F #3F082F #3F3408 #083F19
split-complementary
#08133F #3F1908 #2F3F08
monochromatic
#03081B #03081B #08133F #0F2375 #1634AC

Accessibility & contrast

On white

17.87
#08133F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#08133F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08133F
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08133F#FFFFFF#000000##FFFFFF
##08133F1.0017.871.1817.87
#FFFFFF17.871.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #08133f;
/* rgb */ color: rgb(8, 19, 63);
/* oklch */ color: oklch(21.2% 0.085 267.4);
Tailwind
colors: {
  custom: {
    50: '#525074',
    500: '#08133f',
    950: '#000000',
  },
}
SCSS
$custom: #08133f;
$custom-light: #525074;
$custom-dark: #000000;
JSON
{
  "hex": "#08133f",
  "rgb": {
    "r": 8,
    "g": 19,
    "b": 63
  },
  "hsl": {
    "h": 228,
    "s": 77.465,
    "l": 13.922
  },
  "oklch": {
    "l": 0.21164,
    "c": 0.08522,
    "h": 267.4
  },
  "luminance": 0.00876
}

Semantic roles & 50–950 ramp

primary
#08133F
secondary
#7E6C25
accent
#CE34F4
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #08133F

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

Preview Lab → · Contrast checker → · Palette generator →

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