#08193C#08193C

#08193C is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.3% C 0.071 H 262.5°. Best body text is #FFFFFF at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#08193C
RGBrgb(8, 25, 60)
HSLhsl(220, 76%, 13%)
HSVhsv(220, 87%, 24%)
CMYKcmyk(86.7%, 58.3%, 0%, 76.5%)
CIE-LABlab(9.59, 8.15, -24.60)
CIE-LCHlch(9.59, 25.91, 288.33°)
OKLaboklab(22.34% -0.0093 -0.0707)
OKLCHoklch(22.34% 0.071 262.5)
XYZxyz(1.2631, 1.0730, 4.4146)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08193C #3C2B08
analogous
#08333C #08193C #11083C
triadic
#08193C #3C0819 #193C08
tetradic
#08193C #3C0833 #3C2B08 #083C11
square
#08193C #3C0833 #3C2B08 #083C11
split-complementary
#08193C #3C1108 #333C08
monochromatic
#040B1B #040B1B #08193C #0F2F72 #1646A8

Accessibility & contrast

On white

17.29
#08193C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08193C
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08193C#FFFFFF#000000##FFFFFF
##08193C1.0017.291.2117.29
#FFFFFF17.291.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041D3D
Deuteranopia (green-blind)
#00183B
Tritanopia (blue-blind)
#002127
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #08193c;
/* rgb */ color: rgb(8, 25, 60);
/* oklch */ color: oklch(22.3% 0.071 262.5);
Tailwind
colors: {
  custom: {
    50: '#515572',
    500: '#08193c',
    950: '#000000',
  },
}
SCSS
$custom: #08193c;
$custom-light: #515572;
$custom-dark: #000000;
JSON
{
  "hex": "#08193c",
  "rgb": {
    "r": 8,
    "g": 25,
    "b": 60
  },
  "hsl": {
    "h": 220.385,
    "s": 76.471,
    "l": 13.333
  },
  "oklch": {
    "l": 0.22335,
    "c": 0.07136,
    "h": 262.5
  },
  "luminance": 0.01073
}

Semantic roles & 50–950 ramp

primary
#08193C
secondary
#7B5F25
accent
#B535F3
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020208
muted
#78787B

Preview Lab

Preview with #08193C

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

Preview Lab → · Contrast checker → · Palette generator →

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