#0D1E54#0D1E54

#0D1E54 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.1% C 0.101 H 266.1°. Best body text is #FFFFFF at 15.78:1 contrast (WCAG AA passes).

Color values

HEX#0D1E54
RGBrgb(13, 30, 84)
HSLhsl(226, 73%, 19%)
HSVhsv(226, 85%, 33%)
CMYKcmyk(84.5%, 64.3%, 0%, 67.1%)
CIE-LABlab(13.56, 15.74, -34.81)
CIE-LCHlch(13.56, 38.21, 294.33°)
OKLaboklab(26.07% -0.0069 -0.1006)
OKLCHoklch(26.07% 0.101 266.1)
XYZxyz(2.2299, 1.6540, 8.5875)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1E54 #54430D
analogous
#0D4254 #0D1E54 #200D54
triadic
#0D1E54 #540D1E #1E540D
tetradic
#0D1E54 #540D42 #54430D #0D5420
square
#0D1E54 #540D42 #54430D #0D5420
split-complementary
#0D1E54 #54200D #42540D
monochromatic
#04091A #050B1F #0D1E54 #153189 #1D44BE

Accessibility & contrast

On white

15.78
#0D1E54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#0D1E54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1E54
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1E54#FFFFFF#000000##FFFFFF
##0D1E541.0015.781.3315.78
#FFFFFF15.781.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002656
Deuteranopia (green-blind)
#001F53
Tritanopia (blue-blind)
#002C35
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0d1e54;
/* rgb */ color: rgb(13, 30, 84);
/* oklch */ color: oklch(26.1% 0.101 266.1);
Tailwind
colors: {
  custom: {
    50: '#595985',
    500: '#0d1e54',
    950: '#000000',
  },
}
SCSS
$custom: #0d1e54;
$custom-light: #595985;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1e54",
  "rgb": {
    "r": 13,
    "g": 30,
    "b": 84
  },
  "hsl": {
    "h": 225.634,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.26068,
    "c": 0.10082,
    "h": 266.1
  },
  "luminance": 0.01654
}

Semantic roles & 50–950 ramp

primary
#0D1E54
secondary
#8F782E
accent
#C438F0
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #0D1E54

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

Preview Lab → · Contrast checker → · Palette generator →

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