#08193F#08193F

#08193F is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.6% C 0.076 H 263.3°. Best body text is #FFFFFF at 17.20:1 contrast (WCAG AA passes).

Color values

HEX#08193F
RGBrgb(8, 25, 63)
HSLhsl(221, 77%, 14%)
HSVhsv(221, 87%, 25%)
CMYKcmyk(87.3%, 60.3%, 0%, 75.3%)
CIE-LABlab(9.84, 9.54, -26.31)
CIE-LCHlch(9.84, 27.99, 289.93°)
OKLaboklab(22.61% -0.0089 -0.0758)
OKLCHoklch(22.61% 0.076 263.3)
XYZxyz(1.3447, 1.1056, 4.8442)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08193F #3F2E08
analogous
#08353F #08193F #13083F
triadic
#08193F #3F0819 #193F08
tetradic
#08193F #3F0835 #3F2E08 #083F13
square
#08193F #3F0835 #3F2E08 #083F13
split-complementary
#08193F #3F1308 #353F08
monochromatic
#030B1B #030B1B #08193F #0F2F75 #1644AC

Accessibility & contrast

On white

17.20
#08193F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#08193F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08193F
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08193F#FFFFFF#000000##FFFFFF
##08193F1.0017.201.2217.20
#FFFFFF17.201.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011E40
Deuteranopia (green-blind)
#00193E
Tritanopia (blue-blind)
#002229
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #08193f;
/* rgb */ color: rgb(8, 25, 63);
/* oklch */ color: oklch(22.6% 0.076 263.3);
Tailwind
colors: {
  custom: {
    50: '#515574',
    500: '#08193f',
    950: '#000000',
  },
}
SCSS
$custom: #08193f;
$custom-light: #515574;
$custom-dark: #000000;
JSON
{
  "hex": "#08193f",
  "rgb": {
    "r": 8,
    "g": 25,
    "b": 63
  },
  "hsl": {
    "h": 221.455,
    "s": 77.465,
    "l": 13.922
  },
  "oklch": {
    "l": 0.22612,
    "c": 0.07632,
    "h": 263.3
  },
  "luminance": 0.01106
}

Semantic roles & 50–950 ramp

primary
#08193F
secondary
#7E6225
accent
#B934F4
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#020208
muted
#78787B

Preview Lab

Preview with #08193F

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

Preview Lab → · Contrast checker → · Palette generator →

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