#0D193E#0D193E

#0D193E is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.8% C 0.073 H 266.9°. Best body text is #FFFFFF at 17.13:1 contrast (WCAG AA passes).

Color values

HEX#0D193E
RGBrgb(13, 25, 62)
HSLhsl(225, 65%, 15%)
HSVhsv(225, 79%, 24%)
CMYKcmyk(79%, 59.7%, 0%, 75.7%)
CIE-LABlab(10.02, 9.91, -25.30)
CIE-LCHlch(10.02, 27.18, 291.39°)
OKLaboklab(22.79% -0.0039 -0.0727)
OKLCHoklch(22.79% 0.073 266.9)
XYZxyz(1.3828, 1.1285, 4.7014)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D193E #3E320D
analogous
#0D323E #0D193E #1A0D3E
triadic
#0D193E #3E0D19 #193E0D
tetradic
#0D193E #3E0D32 #3E320D #0D3E1A
square
#0D193E #3E0D32 #3E320D #0D3E1A
split-complementary
#0D193E #3E1A0D #323E0D
monochromatic
#050A19 #050A19 #0D193E #182D71 #2242A3

Accessibility & contrast

On white

17.13
#0D193E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#0D193E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D193E
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D193E#FFFFFF#000000##FFFFFF
##0D193E1.0017.131.2317.13
#FFFFFF17.131.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0d193e;
/* rgb */ color: rgb(13, 25, 62);
/* oklch */ color: oklch(22.8% 0.073 266.9);
Tailwind
colors: {
  custom: {
    50: '#535573',
    500: '#0d193e',
    950: '#000000',
  },
}
SCSS
$custom: #0d193e;
$custom-light: #535573;
$custom-dark: #000000;
JSON
{
  "hex": "#0d193e",
  "rgb": {
    "r": 13,
    "g": 25,
    "b": 62
  },
  "hsl": {
    "h": 225.306,
    "s": 65.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.22791,
    "c": 0.07282,
    "h": 266.9
  },
  "luminance": 0.01129
}

Semantic roles & 50–950 ramp

primary
#0D193E
secondary
#7A672D
accent
#BF40E8
background
#F5F4F7
surface
#E8E7ED
border
#C4C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0D193E

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

Preview Lab → · Contrast checker → · Palette generator →

#0D193E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva