#0D1954#0D1954

#0D1954 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 25.0% C 0.108 H 268.2°. Best body text is #FFFFFF at 16.35:1 contrast (WCAG AA passes).

Color values

HEX#0D1954
RGBrgb(13, 25, 84)
HSLhsl(230, 73%, 19%)
HSVhsv(230, 85%, 33%)
CMYKcmyk(84.5%, 70.2%, 0%, 67.1%)
CIE-LABlab(12.09, 19.50, -37.20)
CIE-LCHlch(12.09, 42.00, 297.66°)
OKLaboklab(24.99% -0.0034 -0.1076)
OKLCHoklch(24.99% 0.108 268.2)
XYZxyz(2.1133, 1.4207, 8.5486)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1954 #54480D
analogous
#0D3D54 #0D1954 #250D54
triadic
#0D1954 #540D19 #19540D
tetradic
#0D1954 #540D3D #54480D #0D5425
square
#0D1954 #540D3D #54480D #0D5425
split-complementary
#0D1954 #54250D #3D540D
monochromatic
#04081A #05091F #0D1954 #152989 #1D39BE

Accessibility & contrast

On white

16.35
#0D1954 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#0D1954 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1954
16.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1954#FFFFFF#000000##FFFFFF
##0D19541.0016.351.2816.35
#FFFFFF16.351.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002356
Deuteranopia (green-blind)
#001C53
Tritanopia (blue-blind)
#002933
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #0d1954;
/* rgb */ color: rgb(13, 25, 84);
/* oklch */ color: oklch(25.0% 0.108 268.2);
Tailwind
colors: {
  custom: {
    50: '#5a5585',
    500: '#0d1954',
    950: '#000000',
  },
}
SCSS
$custom: #0d1954;
$custom-light: #5a5585;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1954",
  "rgb": {
    "r": 13,
    "g": 25,
    "b": 84
  },
  "hsl": {
    "h": 229.859,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.24985,
    "c": 0.1077,
    "h": 268.2
  },
  "luminance": 0.01421
}

Semantic roles & 50–950 ramp

primary
#0D1954
secondary
#8F7E2E
accent
#D138F0
background
#F5F4F8
surface
#E9E8EF
border
#C5C4CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #0D1954

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

Preview Lab → · Contrast checker → · Palette generator →

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