#0D2551#0D2551

#0D2551 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.5% C 0.086 H 261.3°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#0D2551
RGBrgb(13, 37, 81)
HSLhsl(219, 72%, 18%)
HSVhsv(219, 84%, 32%)
CMYKcmyk(84%, 54.3%, 0%, 68.2%)
CIE-LABlab(15.50, 9.10, -29.62)
CIE-LCHlch(15.50, 30.99, 287.08°)
OKLaboklab(27.46% -0.0131 -0.0852)
OKLCHoklch(27.46% 0.086 261.3)
XYZxyz(2.3122, 2.0025, 8.0476)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2551 #51390D
analogous
#0D4751 #0D2551 #170D51
triadic
#0D2551 #510D25 #25510D
tetradic
#0D2551 #510D47 #51390D #0D5117
square
#0D2551 #510D47 #51390D #0D5117
split-complementary
#0D2551 #51170D #47510D
monochromatic
#040C1A #050D1C #0D2551 #153D86 #1E55BA

Accessibility & contrast

On white

14.99
#0D2551 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#0D2551 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2551
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2551#FFFFFF#000000##FFFFFF
##0D25511.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2A53
Deuteranopia (green-blind)
#002450
Tritanopia (blue-blind)
#003037
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0d2551;
/* rgb */ color: rgb(13, 37, 81);
/* oklch */ color: oklch(27.5% 0.086 261.3);
Tailwind
colors: {
  custom: {
    50: '#585f82',
    500: '#0d2551',
    950: '#000000',
  },
}
SCSS
$custom: #0d2551;
$custom-light: #585f82;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2551",
  "rgb": {
    "r": 13,
    "g": 37,
    "b": 81
  },
  "hsl": {
    "h": 218.824,
    "s": 72.34,
    "l": 18.431
  },
  "oklch": {
    "l": 0.27458,
    "c": 0.08618,
    "h": 261.3
  },
  "luminance": 0.02003
}

Semantic roles & 50–950 ramp

primary
#0D2551
secondary
#8C6B2E
accent
#AF39EF
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040A
muted
#79797C

Preview Lab

Preview with #0D2551

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

Preview Lab → · Contrast checker → · Palette generator →

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