#0D2C5D#0D2C5D

#0D2C5D is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.2% C 0.095 H 259.5°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#0D2C5D
RGBrgb(13, 44, 93)
HSLhsl(217, 75%, 21%)
HSVhsv(217, 86%, 36%)
CMYKcmyk(86%, 52.7%, 0%, 63.5%)
CIE-LABlab(18.70, 9.17, -32.49)
CIE-LCHlch(18.70, 33.76, 285.76°)
OKLaboklab(30.21% -0.0174 -0.0935)
OKLCHoklch(30.21% 0.095 259.5)
XYZxyz(3.0417, 2.6769, 10.7102)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2C5D #5D3E0D
analogous
#0D545D #0D2C5D #160D5D
triadic
#0D2C5D #5D0D2C #2C5D0D
tetradic
#0D2C5D #5D0D54 #5D3E0D #0D5D16
square
#0D2C5D #5D0D54 #5D3E0D #0D5D16
split-complementary
#0D2C5D #5D160D #545D0D
monochromatic
#040D1B #051327 #0D2C5D #154593 #1C5FC8

Accessibility & contrast

On white

13.68
#0D2C5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#0D2C5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2C5D
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2C5D#FFFFFF#000000##FFFFFF
##0D2C5D1.0013.681.5413.68
#FFFFFF13.681.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F315F
Deuteranopia (green-blind)
#002A5C
Tritanopia (blue-blind)
#003840
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0d2c5d;
/* rgb */ color: rgb(13, 44, 93);
/* oklch */ color: oklch(30.2% 0.095 259.5);
Tailwind
colors: {
  custom: {
    50: '#5b648b',
    500: '#0d2c5d',
    950: '#000000',
  },
}
SCSS
$custom: #0d2c5d;
$custom-light: #5b648b;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2c5d",
  "rgb": {
    "r": 13,
    "g": 44,
    "b": 93
  },
  "hsl": {
    "h": 216.75,
    "s": 75.472,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30207,
    "c": 0.09507,
    "h": 259.5
  },
  "luminance": 0.02677
}

Semantic roles & 50–950 ramp

primary
#0D2C5D
secondary
#976F2F
accent
#A936F2
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#04050C
muted
#79797D

Preview Lab

Preview with #0D2C5D

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

Preview Lab → · Contrast checker → · Palette generator →

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