#0D295B#0D295B

#0D295B is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.3% C 0.096 H 261.0°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#0D295B
RGBrgb(13, 41, 91)
HSLhsl(218, 75%, 20%)
HSVhsv(218, 86%, 36%)
CMYKcmyk(85.7%, 54.9%, 0%, 64.3%)
CIE-LABlab(17.58, 10.52, -32.97)
CIE-LCHlch(17.58, 34.61, 287.70°)
OKLaboklab(29.3% -0.0151 -0.095)
OKLCHoklch(29.3% 0.096 261)
XYZxyz(2.8466, 2.4264, 10.2138)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D295B #5B3F0D
analogous
#0D505B #0D295B #180D5B
triadic
#0D295B #5B0D29 #295B0D
tetradic
#0D295B #5B0D50 #5B3F0D #0D5B18
square
#0D295B #5B0D50 #5B3F0D #0D5B18
split-complementary
#0D295B #5B180D #505B0D
monochromatic
#040C1B #051125 #0D295B #154191 #1C59C6

Accessibility & contrast

On white

14.14
#0D295B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D295B
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D295B#FFFFFF#000000##FFFFFF
##0D295B1.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082F5D
Deuteranopia (green-blind)
#00285A
Tritanopia (blue-blind)
#00353D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0d295b;
/* rgb */ color: rgb(13, 41, 91);
/* oklch */ color: oklch(29.3% 0.096 261.0);
Tailwind
colors: {
  custom: {
    50: '#5a628a',
    500: '#0d295b',
    950: '#000000',
  },
}
SCSS
$custom: #0d295b;
$custom-light: #5a628a;
$custom-dark: #000000;
JSON
{
  "hex": "#0d295b",
  "rgb": {
    "r": 13,
    "g": 41,
    "b": 91
  },
  "hsl": {
    "h": 218.462,
    "s": 75,
    "l": 20.392
  },
  "oklch": {
    "l": 0.29301,
    "c": 0.09615,
    "h": 261
  },
  "luminance": 0.02427
}

Semantic roles & 50–950 ramp

primary
#0D295B
secondary
#95702F
accent
#AE36F2
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04050C
muted
#79797D

Preview Lab

Preview with #0D295B

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

Preview Lab → · Contrast checker → · Palette generator →

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