#08143A#08143A

#08143A is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 20.9% C 0.076 H 266.4°. Best body text is #FFFFFF at 17.93:1 contrast (WCAG AA passes).

Color values

HEX#08143A
RGBrgb(8, 20, 58)
HSLhsl(226, 76%, 13%)
HSVhsv(226, 86%, 23%)
CMYKcmyk(86.2%, 65.5%, 0%, 77.3%)
CIE-LABlab(7.74, 11.22, -26.15)
CIE-LCHlch(7.74, 28.45, 293.23°)
OKLaboklab(20.88% -0.0048 -0.0754)
OKLCHoklch(20.88% 0.076 266.4)
XYZxyz(1.1137, 0.8573, 4.1089)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08143A #3A2E08
analogous
#082D3A #08143A #15083A
triadic
#08143A #3A0814 #143A08
tetradic
#08143A #3A082D #3A2E08 #083A15
square
#08143A #3A082D #3A2E08 #083A15
split-complementary
#08143A #3A1508 #2D3A08
monochromatic
#04091B #04091B #08143A #0F2770 #1739A6

Accessibility & contrast

On white

17.93
#08143A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#08143A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08143A
17.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08143A#FFFFFF#000000##FFFFFF
##08143A1.0017.931.1717.93
#FFFFFF17.931.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193B
Deuteranopia (green-blind)
#001539
Tritanopia (blue-blind)
#001D24
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #08143a;
/* rgb */ color: rgb(8, 20, 58);
/* oklch */ color: oklch(20.9% 0.076 266.4);
Tailwind
colors: {
  custom: {
    50: '#505070',
    500: '#08143a',
    950: '#000000',
  },
}
SCSS
$custom: #08143a;
$custom-light: #505070;
$custom-dark: #000000;
JSON
{
  "hex": "#08143a",
  "rgb": {
    "r": 8,
    "g": 20,
    "b": 58
  },
  "hsl": {
    "h": 225.6,
    "s": 75.758,
    "l": 12.941
  },
  "oklch": {
    "l": 0.20882,
    "c": 0.07558,
    "h": 266.4
  },
  "luminance": 0.00857
}

Semantic roles & 50–950 ramp

primary
#08143A
secondary
#796525
accent
#C535F2
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #08143A

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

Preview Lab → · Contrast checker → · Palette generator →

#08143A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva