#08133C#08133C

#08133C is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.8% C 0.080 H 267.3°. Best body text is #FFFFFF at 17.97:1 contrast (WCAG AA passes).

Color values

HEX#08133C
RGBrgb(8, 19, 60)
HSLhsl(227, 76%, 13%)
HSVhsv(227, 87%, 24%)
CMYKcmyk(86.7%, 68.3%, 0%, 76.5%)
CIE-LABlab(7.62, 12.92, -27.79)
CIE-LCHlch(7.62, 30.64, 294.94°)
OKLaboklab(20.85% -0.0038 -0.0803)
OKLCHoklch(20.85% 0.08 267.3)
XYZxyz(1.1483, 0.8435, 4.3764)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08133C #3C3108
analogous
#082D3C #08133C #17083C
triadic
#08133C #3C0813 #133C08
tetradic
#08133C #3C082D #3C3108 #083C17
square
#08133C #3C082D #3C3108 #083C17
split-complementary
#08133C #3C1708 #2D3C08
monochromatic
#04091B #04091B #08133C #0F2472 #1635A8

Accessibility & contrast

On white

17.97
#08133C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08133C
17.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08133C#FFFFFF#000000##FFFFFF
##08133C1.0017.971.1717.97
#FFFFFF17.971.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193D
Deuteranopia (green-blind)
#00143B
Tritanopia (blue-blind)
#001D25
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #08133c;
/* rgb */ color: rgb(8, 19, 60);
/* oklch */ color: oklch(20.8% 0.080 267.3);
Tailwind
colors: {
  custom: {
    50: '#515072',
    500: '#08133c',
    950: '#000000',
  },
}
SCSS
$custom: #08133c;
$custom-light: #515072;
$custom-dark: #000000;
JSON
{
  "hex": "#08133c",
  "rgb": {
    "r": 8,
    "g": 19,
    "b": 60
  },
  "hsl": {
    "h": 227.308,
    "s": 76.471,
    "l": 13.333
  },
  "oklch": {
    "l": 0.20847,
    "c": 0.08037,
    "h": 267.3
  },
  "luminance": 0.00844
}

Semantic roles & 50–950 ramp

primary
#08133C
secondary
#7B6925
accent
#CB35F3
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020208
muted
#78787B

Preview Lab

Preview with #08133C

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

Preview Lab → · Contrast checker → · Palette generator →

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