#0D2C5C#0D2C5C

#0D2C5C is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.1% C 0.094 H 259.2°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#0D2C5C
RGBrgb(13, 44, 92)
HSLhsl(216, 75%, 21%)
HSVhsv(216, 86%, 36%)
CMYKcmyk(85.9%, 52.2%, 0%, 63.9%)
CIE-LABlab(18.62, 8.73, -31.95)
CIE-LCHlch(18.62, 33.13, 285.28°)
OKLaboklab(30.12% -0.0175 -0.0919)
OKLCHoklch(30.12% 0.094 259.2)
XYZxyz(2.9977, 2.6593, 10.4784)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2C5C #5C3D0D
analogous
#0D535C #0D2C5C #160D5C
triadic
#0D2C5C #5C0D2C #2C5C0D
tetradic
#0D2C5C #5C0D53 #5C3D0D #0D5C16
square
#0D2C5C #5C0D53 #5C3D0D #0D5C16
split-complementary
#0D2C5C #5C160D #535C0D
monochromatic
#040D1B #051226 #0D2C5C #154692 #1C5FC7

Accessibility & contrast

On white

13.71
#0D2C5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D2C5C
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2C5C#FFFFFF#000000##FFFFFF
##0D2C5C1.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10315E
Deuteranopia (green-blind)
#002A5B
Tritanopia (blue-blind)
#00383F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0d2c5c;
/* rgb */ color: rgb(13, 44, 92);
/* oklch */ color: oklch(30.1% 0.094 259.2);
Tailwind
colors: {
  custom: {
    50: '#5b648a',
    500: '#0d2c5c',
    950: '#000000',
  },
}
SCSS
$custom: #0d2c5c;
$custom-light: #5b648a;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2c5c",
  "rgb": {
    "r": 13,
    "g": 44,
    "b": 92
  },
  "hsl": {
    "h": 216.456,
    "s": 75.238,
    "l": 20.588
  },
  "oklch": {
    "l": 0.30124,
    "c": 0.09355,
    "h": 259.2
  },
  "luminance": 0.0266
}

Semantic roles & 50–950 ramp

primary
#0D2C5C
secondary
#966E2F
accent
#A836F2
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#04050C
muted
#79797D

Preview Lab

Preview with #0D2C5C

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

Preview Lab → · Contrast checker → · Palette generator →

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