#0D295C#0D295C

#0D295C is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.4% C 0.098 H 261.2°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#0D295C
RGBrgb(13, 41, 92)
HSLhsl(219, 75%, 21%)
HSVhsv(219, 86%, 36%)
CMYKcmyk(85.9%, 55.4%, 0%, 63.9%)
CIE-LABlab(17.66, 10.96, -33.51)
CIE-LCHlch(17.66, 35.26, 288.12°)
OKLaboklab(29.39% -0.015 -0.0965)
OKLCHoklch(29.39% 0.098 261.2)
XYZxyz(2.8900, 2.4438, 10.4425)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D295C #5C400D
analogous
#0D505C #0D295C #180D5C
triadic
#0D295C #5C0D29 #295C0D
tetradic
#0D295C #5C0D50 #5C400D #0D5C18
square
#0D295C #5C0D50 #5C400D #0D5C18
split-complementary
#0D295C #5C180D #505C0D
monochromatic
#040C1B #051126 #0D295C #154192 #1C59C7

Accessibility & contrast

On white

14.11
#0D295C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#0D295C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D295C
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D295C#FFFFFF#000000##FFFFFF
##0D295C1.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072F5E
Deuteranopia (green-blind)
#00285B
Tritanopia (blue-blind)
#00353E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0d295c;
/* rgb */ color: rgb(13, 41, 92);
/* oklch */ color: oklch(29.4% 0.098 261.2);
Tailwind
colors: {
  custom: {
    50: '#5b628b',
    500: '#0d295c',
    950: '#000000',
  },
}
SCSS
$custom: #0d295c;
$custom-light: #5b628b;
$custom-dark: #000000;
JSON
{
  "hex": "#0d295c",
  "rgb": {
    "r": 13,
    "g": 41,
    "b": 92
  },
  "hsl": {
    "h": 218.734,
    "s": 75.238,
    "l": 20.588
  },
  "oklch": {
    "l": 0.29388,
    "c": 0.09769,
    "h": 261.2
  },
  "luminance": 0.02444
}

Semantic roles & 50–950 ramp

primary
#0D295C
secondary
#96712F
accent
#AF36F2
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04050C
muted
#79797D

Preview Lab

Preview with #0D295C

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

Preview Lab → · Contrast checker → · Palette generator →

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