#08193A#08193A

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

Color values

HEX#08193A
RGBrgb(8, 25, 58)
HSLhsl(220, 76%, 13%)
HSVhsv(220, 86%, 23%)
CMYKcmyk(86.2%, 56.9%, 0%, 77.3%)
CIE-LABlab(9.42, 7.22, -23.43)
CIE-LCHlch(9.42, 24.52, 287.13°)
OKLaboklab(22.16% -0.0096 -0.0673)
OKLCHoklch(22.16% 0.068 261.9)
XYZxyz(1.2112, 1.0522, 4.1414)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08193A #3A2908
analogous
#08323A #08193A #10083A
triadic
#08193A #3A0819 #193A08
tetradic
#08193A #3A0832 #3A2908 #083A10
square
#08193A #3A0832 #3A2908 #083A10
split-complementary
#08193A #3A1008 #323A08
monochromatic
#040C1B #040C1B #08193A #0F3070 #1747A6

Accessibility & contrast

On white

17.35
#08193A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08193A
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08193A#FFFFFF#000000##FFFFFF
##08193A1.0017.351.2117.35
#FFFFFF17.351.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061D3B
Deuteranopia (green-blind)
#001839
Tritanopia (blue-blind)
#002126
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #08193a;
/* rgb */ color: rgb(8, 25, 58);
/* oklch */ color: oklch(22.2% 0.068 261.9);
Tailwind
colors: {
  custom: {
    50: '#505570',
    500: '#08193a',
    950: '#000000',
  },
}
SCSS
$custom: #08193a;
$custom-light: #505570;
$custom-dark: #000000;
JSON
{
  "hex": "#08193a",
  "rgb": {
    "r": 8,
    "g": 25,
    "b": 58
  },
  "hsl": {
    "h": 219.6,
    "s": 75.758,
    "l": 12.941
  },
  "oklch": {
    "l": 0.22155,
    "c": 0.06801,
    "h": 261.9
  },
  "luminance": 0.01052
}

Semantic roles & 50–950 ramp

primary
#08193A
secondary
#795C25
accent
#B235F2
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #08193A

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

Preview Lab → · Contrast checker → · Palette generator →

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