#0D2C5F#0D2C5F

#0D2C5F is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.4% C 0.098 H 260.0°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#0D2C5F
RGBrgb(13, 44, 95)
HSLhsl(217, 76%, 21%)
HSVhsv(217, 86%, 37%)
CMYKcmyk(86.3%, 53.7%, 0%, 62.7%)
CIE-LABlab(18.85, 10.05, -33.57)
CIE-LCHlch(18.85, 35.04, 286.67°)
OKLaboklab(30.37% -0.017 -0.0966)
OKLCHoklch(30.37% 0.098 260)
XYZxyz(3.1315, 2.7128, 11.1828)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2C5F #5F400D
analogous
#0D555F #0D2C5F #170D5F
triadic
#0D2C5F #5F0D2C #2C5F0D
tetradic
#0D2C5F #5F0D55 #5F400D #0D5F17
square
#0D2C5F #5F0D55 #5F400D #0D5F17
split-complementary
#0D2C5F #5F170D #555F0D
monochromatic
#040C1B #061329 #0D2C5F #144595 #1C5ECB

Accessibility & contrast

On white

13.61
#0D2C5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D2C5F
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2C5F#FFFFFF#000000##FFFFFF
##0D2C5F1.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3261
Deuteranopia (green-blind)
#002A5E
Tritanopia (blue-blind)
#003841
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #0d2c5f;
/* rgb */ color: rgb(13, 44, 95);
/* oklch */ color: oklch(30.4% 0.098 260.0);
Tailwind
colors: {
  custom: {
    50: '#5b648d',
    500: '#0d2c5f',
    950: '#000000',
  },
}
SCSS
$custom: #0d2c5f;
$custom-light: #5b648d;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2c5f",
  "rgb": {
    "r": 13,
    "g": 44,
    "b": 95
  },
  "hsl": {
    "h": 217.317,
    "s": 75.926,
    "l": 21.176
  },
  "oklch": {
    "l": 0.30374,
    "c": 0.09812,
    "h": 260
  },
  "luminance": 0.02713
}

Semantic roles & 50–950 ramp

primary
#0D2C5F
secondary
#99712F
accent
#AB35F3
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #0D2C5F

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

Preview Lab → · Contrast checker → · Palette generator →

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