#0D2451#0D2451

#0D2451 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.2% C 0.088 H 262.0°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#0D2451
RGBrgb(13, 36, 81)
HSLhsl(220, 72%, 18%)
HSVhsv(220, 84%, 32%)
CMYKcmyk(84%, 55.6%, 0%, 68.2%)
CIE-LABlab(15.18, 9.86, -30.15)
CIE-LCHlch(15.18, 31.72, 288.11°)
OKLaboklab(27.21% -0.0122 -0.0867)
OKLCHoklch(27.21% 0.088 262)
XYZxyz(2.2815, 1.9411, 8.0374)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2451 #513A0D
analogous
#0D4651 #0D2451 #180D51
triadic
#0D2451 #510D24 #24510D
tetradic
#0D2451 #510D46 #513A0D #0D5118
square
#0D2451 #510D46 #513A0D #0D5118
split-complementary
#0D2451 #51180D #46510D
monochromatic
#040C1A #050D1C #0D2451 #153B86 #1E53BA

Accessibility & contrast

On white

15.13
#0D2451 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#0D2451 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2451
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2451#FFFFFF#000000##FFFFFF
##0D24511.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082953
Deuteranopia (green-blind)
#002350
Tritanopia (blue-blind)
#002F36
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0d2451;
/* rgb */ color: rgb(13, 36, 81);
/* oklch */ color: oklch(27.2% 0.088 262.0);
Tailwind
colors: {
  custom: {
    50: '#585e82',
    500: '#0d2451',
    950: '#000000',
  },
}
SCSS
$custom: #0d2451;
$custom-light: #585e82;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2451",
  "rgb": {
    "r": 13,
    "g": 36,
    "b": 81
  },
  "hsl": {
    "h": 219.706,
    "s": 72.34,
    "l": 18.431
  },
  "oklch": {
    "l": 0.27209,
    "c": 0.0876,
    "h": 262
  },
  "luminance": 0.01941
}

Semantic roles & 50–950 ramp

primary
#0D2451
secondary
#8C6C2E
accent
#B139EF
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040A
muted
#79797C

Preview Lab

Preview with #0D2451

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

Preview Lab → · Contrast checker → · Palette generator →

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