#0D2954#0D2954

#0D2954 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.7% C 0.085 H 259.0°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#0D2954
RGBrgb(13, 41, 84)
HSLhsl(216, 73%, 19%)
HSVhsv(216, 85%, 33%)
CMYKcmyk(84.5%, 51.2%, 0%, 67.1%)
CIE-LABlab(17.04, 7.43, -29.16)
CIE-LCHlch(17.04, 30.09, 284.29°)
OKLaboklab(28.72% -0.0163 -0.0837)
OKLCHoklch(28.72% 0.085 259)
XYZxyz(2.5586, 2.3112, 8.6971)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2954 #54380D
analogous
#0D4D54 #0D2954 #150D54
triadic
#0D2954 #540D29 #29540D
tetradic
#0D2954 #540D4D #54380D #0D5415
square
#0D2954 #540D4D #54380D #0D5415
split-complementary
#0D2954 #54150D #4D540D
monochromatic
#040D1A #050F1F #0D2954 #154389 #1D5DBE

Accessibility & contrast

On white

14.36
#0D2954 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#0D2954 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2954
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2954#FFFFFF#000000##FFFFFF
##0D29541.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112D56
Deuteranopia (green-blind)
#012753
Tritanopia (blue-blind)
#00333A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0d2954;
/* rgb */ color: rgb(13, 41, 84);
/* oklch */ color: oklch(28.7% 0.085 259.0);
Tailwind
colors: {
  custom: {
    50: '#586284',
    500: '#0d2954',
    950: '#000000',
  },
}
SCSS
$custom: #0d2954;
$custom-light: #586284;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2954",
  "rgb": {
    "r": 13,
    "g": 41,
    "b": 84
  },
  "hsl": {
    "h": 216.338,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.28715,
    "c": 0.08531,
    "h": 259
  },
  "luminance": 0.02312
}

Semantic roles & 50–950 ramp

primary
#0D2954
secondary
#8F692E
accent
#A738F0
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #0D2954

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

Preview Lab → · Contrast checker → · Palette generator →

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