#0D1D54#0D1D54

#0D1D54 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.8% C 0.102 H 266.5°. Best body text is #FFFFFF at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#0D1D54
RGBrgb(13, 29, 84)
HSLhsl(226, 73%, 19%)
HSVhsv(226, 85%, 33%)
CMYKcmyk(84.5%, 65.5%, 0%, 67.1%)
CIE-LABlab(13.26, 16.50, -35.30)
CIE-LCHlch(13.26, 38.97, 295.05°)
OKLaboklab(25.84% -0.0062 -0.102)
OKLCHoklch(25.84% 0.102 266.5)
XYZxyz(2.2050, 1.6041, 8.5792)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1D54 #54440D
analogous
#0D4154 #0D1D54 #210D54
triadic
#0D1D54 #540D1D #1D540D
tetradic
#0D1D54 #540D41 #54440D #0D5421
square
#0D1D54 #540D41 #54440D #0D5421
split-complementary
#0D1D54 #54210D #41540D
monochromatic
#04091A #050B1F #0D1D54 #152F89 #1D42BE

Accessibility & contrast

On white

15.90
#0D1D54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#0D1D54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1D54
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1D54#FFFFFF#000000##FFFFFF
##0D1D541.0015.901.3215.90
#FFFFFF15.901.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002556
Deuteranopia (green-blind)
#001F53
Tritanopia (blue-blind)
#002B35
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0d1d54;
/* rgb */ color: rgb(13, 29, 84);
/* oklch */ color: oklch(25.8% 0.102 266.5);
Tailwind
colors: {
  custom: {
    50: '#595885',
    500: '#0d1d54',
    950: '#000000',
  },
}
SCSS
$custom: #0d1d54;
$custom-light: #595885;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1d54",
  "rgb": {
    "r": 13,
    "g": 29,
    "b": 84
  },
  "hsl": {
    "h": 226.479,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.25844,
    "c": 0.10222,
    "h": 266.5
  },
  "luminance": 0.01604
}

Semantic roles & 50–950 ramp

primary
#0D1D54
secondary
#8F792E
accent
#C638F0
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #0D1D54

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

Preview Lab → · Contrast checker → · Palette generator →

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