#0D2C5B#0D2C5B

#0D2C5B is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.0% C 0.092 H 258.9°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#0D2C5B
RGBrgb(13, 44, 91)
HSLhsl(216, 75%, 20%)
HSVhsv(216, 86%, 36%)
CMYKcmyk(85.7%, 51.6%, 0%, 64.3%)
CIE-LABlab(18.55, 8.29, -31.41)
CIE-LCHlch(18.55, 32.49, 284.79°)
OKLaboklab(30.04% -0.0177 -0.0903)
OKLCHoklch(30.04% 0.092 258.9)
XYZxyz(2.9543, 2.6419, 10.2497)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2C5B #5B3C0D
analogous
#0D535B #0D2C5B #150D5B
triadic
#0D2C5B #5B0D2C #2C5B0D
tetradic
#0D2C5B #5B0D53 #5B3C0D #0D5B15
square
#0D2C5B #5B0D53 #5B3C0D #0D5B15
split-complementary
#0D2C5B #5B150D #535B0D
monochromatic
#040D1B #051225 #0D2C5B #154691 #1C60C6

Accessibility & contrast

On white

13.74
#0D2C5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#0D2C5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2C5B
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2C5B#FFFFFF#000000##FFFFFF
##0D2C5B1.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11315D
Deuteranopia (green-blind)
#002A5A
Tritanopia (blue-blind)
#00373F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0d2c5b;
/* rgb */ color: rgb(13, 44, 91);
/* oklch */ color: oklch(30.0% 0.092 258.9);
Tailwind
colors: {
  custom: {
    50: '#5a648a',
    500: '#0d2c5b',
    950: '#000000',
  },
}
SCSS
$custom: #0d2c5b;
$custom-light: #5a648a;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2c5b",
  "rgb": {
    "r": 13,
    "g": 44,
    "b": 91
  },
  "hsl": {
    "h": 216.154,
    "s": 75,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30042,
    "c": 0.09201,
    "h": 258.9
  },
  "luminance": 0.02642
}

Semantic roles & 50–950 ramp

primary
#0D2C5B
secondary
#956C2F
accent
#A736F2
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#04050C
muted
#79797D

Preview Lab

Preview with #0D2C5B

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

Preview Lab → · Contrast checker → · Palette generator →

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