#08193D#08193D

#08193D is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.4% C 0.073 H 262.8°. Best body text is #FFFFFF at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#08193D
RGBrgb(8, 25, 61)
HSLhsl(221, 77%, 14%)
HSVhsv(221, 87%, 24%)
CMYKcmyk(86.9%, 59%, 0%, 76.1%)
CIE-LABlab(9.67, 8.61, -25.17)
CIE-LCHlch(9.67, 26.60, 288.89°)
OKLaboklab(22.43% -0.0091 -0.0724)
OKLCHoklch(22.43% 0.073 262.8)
XYZxyz(1.2898, 1.0837, 4.5552)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08193D #3D2C08
analogous
#08333D #08193D #11083D
triadic
#08193D #3D0819 #193D08
tetradic
#08193D #3D0833 #3D2C08 #083D11
square
#08193D #3D0833 #3D2C08 #083D11
split-complementary
#08193D #3D1108 #333D08
monochromatic
#040B1B #040B1B #08193D #0F2F73 #1645A9

Accessibility & contrast

On white

17.26
#08193D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08193D
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08193D#FFFFFF#000000##FFFFFF
##08193D1.0017.261.2217.26
#FFFFFF17.261.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031D3E
Deuteranopia (green-blind)
#00193C
Tritanopia (blue-blind)
#002228
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #08193d;
/* rgb */ color: rgb(8, 25, 61);
/* oklch */ color: oklch(22.4% 0.073 262.8);
Tailwind
colors: {
  custom: {
    50: '#515573',
    500: '#08193d',
    950: '#000000',
  },
}
SCSS
$custom: #08193d;
$custom-light: #515573;
$custom-dark: #000000;
JSON
{
  "hex": "#08193d",
  "rgb": {
    "r": 8,
    "g": 25,
    "b": 61
  },
  "hsl": {
    "h": 220.755,
    "s": 76.812,
    "l": 13.529
  },
  "oklch": {
    "l": 0.22426,
    "c": 0.07301,
    "h": 262.8
  },
  "luminance": 0.01084
}

Semantic roles & 50–950 ramp

primary
#08193D
secondary
#7C6025
accent
#B634F3
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#020208
muted
#78787B

Preview Lab

Preview with #08193D

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

Preview Lab → · Contrast checker → · Palette generator →

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