#08193B#08193B

#08193B is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.2% C 0.070 H 262.2°. Best body text is #FFFFFF at 17.32:1 contrast (WCAG AA passes).

Color values

HEX#08193B
RGBrgb(8, 25, 59)
HSLhsl(220, 76%, 13%)
HSVhsv(220, 86%, 23%)
CMYKcmyk(86.4%, 57.6%, 0%, 76.9%)
CIE-LABlab(9.50, 7.69, -24.02)
CIE-LCHlch(9.50, 25.22, 287.75°)
OKLaboklab(22.24% -0.0094 -0.069)
OKLCHoklch(22.24% 0.07 262.2)
XYZxyz(1.2369, 1.0625, 4.2767)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08193B #3B2A08
analogous
#08323B #08193B #10083B
triadic
#08193B #3B0819 #193B08
tetradic
#08193B #3B0832 #3B2A08 #083B10
square
#08193B #3B0832 #3B2A08 #083B10
split-complementary
#08193B #3B1008 #323B08
monochromatic
#040B1B #040B1B #08193B #0F3071 #1747A7

Accessibility & contrast

On white

17.32
#08193B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#08193B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08193B
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08193B#FFFFFF#000000##FFFFFF
##08193B1.0017.321.2117.32
#FFFFFF17.321.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051D3C
Deuteranopia (green-blind)
#00183A
Tritanopia (blue-blind)
#002127
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #08193b;
/* rgb */ color: rgb(8, 25, 59);
/* oklch */ color: oklch(22.2% 0.070 262.2);
Tailwind
colors: {
  custom: {
    50: '#505571',
    500: '#08193b',
    950: '#000000',
  },
}
SCSS
$custom: #08193b;
$custom-light: #505571;
$custom-dark: #000000;
JSON
{
  "hex": "#08193b",
  "rgb": {
    "r": 8,
    "g": 25,
    "b": 59
  },
  "hsl": {
    "h": 220,
    "s": 76.119,
    "l": 13.137
  },
  "oklch": {
    "l": 0.22244,
    "c": 0.06968,
    "h": 262.2
  },
  "luminance": 0.01063
}

Semantic roles & 50–950 ramp

primary
#08193B
secondary
#7A5E25
accent
#B335F3
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #08193B

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

Preview Lab → · Contrast checker → · Palette generator →

#08193B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva