#0D2A5C#0D2A5C

#0D2A5C is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.6% C 0.096 H 260.5°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#0D2A5C
RGBrgb(13, 42, 92)
HSLhsl(218, 75%, 21%)
HSVhsv(218, 86%, 36%)
CMYKcmyk(85.9%, 54.3%, 0%, 63.9%)
CIE-LABlab(17.98, 10.22, -32.99)
CIE-LCHlch(17.98, 34.54, 287.20°)
OKLaboklab(29.63% -0.0158 -0.095)
OKLCHoklch(29.63% 0.096 260.5)
XYZxyz(2.9250, 2.5139, 10.4542)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2A5C #5C3F0D
analogous
#0D515C #0D2A5C #180D5C
triadic
#0D2A5C #5C0D2A #2A5C0D
tetradic
#0D2A5C #5C0D51 #5C3F0D #0D5C18
square
#0D2A5C #5C0D51 #5C3F0D #0D5C18
split-complementary
#0D2A5C #5C180D #515C0D
monochromatic
#040C1B #051226 #0D2A5C #154292 #1C5BC7

Accessibility & contrast

On white

13.97
#0D2A5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#0D2A5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2A5C
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2A5C#FFFFFF#000000##FFFFFF
##0D2A5C1.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A305E
Deuteranopia (green-blind)
#00295B
Tritanopia (blue-blind)
#00363E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0d2a5c;
/* rgb */ color: rgb(13, 42, 92);
/* oklch */ color: oklch(29.6% 0.096 260.5);
Tailwind
colors: {
  custom: {
    50: '#5b628b',
    500: '#0d2a5c',
    950: '#000000',
  },
}
SCSS
$custom: #0d2a5c;
$custom-light: #5b628b;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2a5c",
  "rgb": {
    "r": 13,
    "g": 42,
    "b": 92
  },
  "hsl": {
    "h": 217.975,
    "s": 75.238,
    "l": 20.588
  },
  "oklch": {
    "l": 0.29631,
    "c": 0.0963,
    "h": 260.5
  },
  "luminance": 0.02514
}

Semantic roles & 50–950 ramp

primary
#0D2A5C
secondary
#96702F
accent
#AD36F2
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#04050C
muted
#79797D

Preview Lab

Preview with #0D2A5C

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

Preview Lab → · Contrast checker → · Palette generator →

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