#0D295D#0D295D

#0D295D is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.5% C 0.099 H 261.4°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#0D295D
RGBrgb(13, 41, 93)
HSLhsl(219, 75%, 21%)
HSVhsv(219, 86%, 36%)
CMYKcmyk(86%, 55.9%, 0%, 63.5%)
CIE-LABlab(17.74, 11.40, -34.04)
CIE-LCHlch(17.74, 35.90, 288.52°)
OKLaboklab(29.48% -0.0148 -0.0981)
OKLCHoklch(29.48% 0.099 261.4)
XYZxyz(2.9340, 2.4614, 10.6743)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D295D #5D410D
analogous
#0D515D #0D295D #190D5D
triadic
#0D295D #5D0D29 #295D0D
tetradic
#0D295D #5D0D51 #5D410D #0D5D19
square
#0D295D #5D0D51 #5D410D #0D5D19
split-complementary
#0D295D #5D190D #515D0D
monochromatic
#040C1B #051127 #0D295D #154193 #1C58C8

Accessibility & contrast

On white

14.07
#0D295D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D295D
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D295D#FFFFFF#000000##FFFFFF
##0D295D1.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052F5F
Deuteranopia (green-blind)
#00285C
Tritanopia (blue-blind)
#00363E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0d295d;
/* rgb */ color: rgb(13, 41, 93);
/* oklch */ color: oklch(29.5% 0.099 261.4);
Tailwind
colors: {
  custom: {
    50: '#5b628b',
    500: '#0d295d',
    950: '#000000',
  },
}
SCSS
$custom: #0d295d;
$custom-light: #5b628b;
$custom-dark: #000000;
JSON
{
  "hex": "#0d295d",
  "rgb": {
    "r": 13,
    "g": 41,
    "b": 93
  },
  "hsl": {
    "h": 219,
    "s": 75.472,
    "l": 20.784
  },
  "oklch": {
    "l": 0.29475,
    "c": 0.09921,
    "h": 261.4
  },
  "luminance": 0.02462
}

Semantic roles & 50–950 ramp

primary
#0D295D
secondary
#97732F
accent
#B036F2
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04050C
muted
#79797D

Preview Lab

Preview with #0D295D

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

Preview Lab → · Contrast checker → · Palette generator →

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