#08193E#08193E

#08193E is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.5% C 0.075 H 263.1°. Best body text is #FFFFFF at 17.23:1 contrast (WCAG AA passes).

Color values

HEX#08193E
RGBrgb(8, 25, 62)
HSLhsl(221, 77%, 14%)
HSVhsv(221, 87%, 24%)
CMYKcmyk(87.1%, 59.7%, 0%, 75.7%)
CIE-LABlab(9.76, 9.08, -25.74)
CIE-LCHlch(9.76, 27.30, 289.43°)
OKLaboklab(22.52% -0.009 -0.0741)
OKLCHoklch(22.52% 0.075 263.1)
XYZxyz(1.3170, 1.0945, 4.6984)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08193E #3E2D08
analogous
#08343E #08193E #12083E
triadic
#08193E #3E0819 #193E08
tetradic
#08193E #3E0834 #3E2D08 #083E12
square
#08193E #3E0834 #3E2D08 #083E12
split-complementary
#08193E #3E1208 #343E08
monochromatic
#030B1B #030B1B #08193E #0F2F74 #1645AA

Accessibility & contrast

On white

17.23
#08193E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08193E
17.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08193E#FFFFFF#000000##FFFFFF
##08193E1.0017.231.2217.23
#FFFFFF17.231.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021E3F
Deuteranopia (green-blind)
#00193D
Tritanopia (blue-blind)
#002228
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #08193e;
/* rgb */ color: rgb(8, 25, 62);
/* oklch */ color: oklch(22.5% 0.075 263.1);
Tailwind
colors: {
  custom: {
    50: '#515573',
    500: '#08193e',
    950: '#000000',
  },
}
SCSS
$custom: #08193e;
$custom-light: #515573;
$custom-dark: #000000;
JSON
{
  "hex": "#08193e",
  "rgb": {
    "r": 8,
    "g": 25,
    "b": 62
  },
  "hsl": {
    "h": 221.111,
    "s": 77.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.22518,
    "c": 0.07468,
    "h": 263.1
  },
  "luminance": 0.01095
}

Semantic roles & 50–950 ramp

primary
#08193E
secondary
#7D6125
accent
#B734F4
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#020208
muted
#78787B

Preview Lab

Preview with #08193E

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

Preview Lab → · Contrast checker → · Palette generator →

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