#0D295A#0D295A

#0D295A is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.2% C 0.095 H 260.7°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#0D295A
RGBrgb(13, 41, 90)
HSLhsl(218, 75%, 20%)
HSVhsv(218, 86%, 35%)
CMYKcmyk(85.6%, 54.4%, 0%, 64.7%)
CIE-LABlab(17.50, 10.08, -32.44)
CIE-LCHlch(17.50, 33.97, 287.26°)
OKLaboklab(29.22% -0.0153 -0.0934)
OKLCHoklch(29.22% 0.095 260.7)
XYZxyz(2.8037, 2.4093, 9.9882)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D295A #5A3E0D
analogous
#0D4F5A #0D295A #180D5A
triadic
#0D295A #5A0D29 #295A0D
tetradic
#0D295A #5A0D4F #5A3E0D #0D5A18
square
#0D295A #5A0D4F #5A3E0D #0D5A18
split-complementary
#0D295A #5A180D #4F5A0D
monochromatic
#040C1B #051125 #0D295A #15418F #1C5AC5

Accessibility & contrast

On white

14.17
#0D295A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#0D295A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D295A
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D295A#FFFFFF#000000##FFFFFF
##0D295A1.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2F5C
Deuteranopia (green-blind)
#002859
Tritanopia (blue-blind)
#00353D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0d295a;
/* rgb */ color: rgb(13, 41, 90);
/* oklch */ color: oklch(29.2% 0.095 260.7);
Tailwind
colors: {
  custom: {
    50: '#5a6289',
    500: '#0d295a',
    950: '#000000',
  },
}
SCSS
$custom: #0d295a;
$custom-light: #5a6289;
$custom-dark: #000000;
JSON
{
  "hex": "#0d295a",
  "rgb": {
    "r": 13,
    "g": 41,
    "b": 90
  },
  "hsl": {
    "h": 218.182,
    "s": 74.757,
    "l": 20.196
  },
  "oklch": {
    "l": 0.29216,
    "c": 0.09461,
    "h": 260.7
  },
  "luminance": 0.0241
}

Semantic roles & 50–950 ramp

primary
#0D295A
secondary
#946F2E
accent
#AD36F1
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04050B
muted
#79797C

Preview Lab

Preview with #0D295A

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

Preview Lab → · Contrast checker → · Palette generator →

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