#0D295E#0D295E

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

Color values

HEX#0D295E
RGBrgb(13, 41, 94)
HSLhsl(219, 76%, 21%)
HSVhsv(219, 86%, 37%)
CMYKcmyk(86.2%, 56.4%, 0%, 63.1%)
CIE-LABlab(17.82, 11.84, -34.57)
CIE-LCHlch(17.82, 36.55, 288.91°)
OKLaboklab(29.56% -0.0147 -0.0997)
OKLCHoklch(29.56% 0.101 261.6)
XYZxyz(2.9786, 2.4792, 10.9091)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D295E #5E420D
analogous
#0D515E #0D295E #190D5E
triadic
#0D295E #5E0D29 #295E0D
tetradic
#0D295E #5E0D51 #5E420D #0D5E19
square
#0D295E #5E0D51 #5E420D #0D5E19
split-complementary
#0D295E #5E190D #515E0D
monochromatic
#040C1B #061228 #0D295E #144094 #1C58CA

Accessibility & contrast

On white

14.04
#0D295E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D295E
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D295E#FFFFFF#000000##FFFFFF
##0D295E1.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033060
Deuteranopia (green-blind)
#00285D
Tritanopia (blue-blind)
#00363F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0d295e;
/* rgb */ color: rgb(13, 41, 94);
/* oklch */ color: oklch(29.6% 0.101 261.6);
Tailwind
colors: {
  custom: {
    50: '#5b628c',
    500: '#0d295e',
    950: '#000000',
  },
}
SCSS
$custom: #0d295e;
$custom-light: #5b628c;
$custom-dark: #000000;
JSON
{
  "hex": "#0d295e",
  "rgb": {
    "r": 13,
    "g": 41,
    "b": 94
  },
  "hsl": {
    "h": 219.259,
    "s": 75.701,
    "l": 20.98
  },
  "oklch": {
    "l": 0.29562,
    "c": 0.10074,
    "h": 261.6
  },
  "luminance": 0.0248
}

Semantic roles & 50–950 ramp

primary
#0D295E
secondary
#98742F
accent
#B136F2
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04050C
muted
#79797D

Preview Lab

Preview with #0D295E

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

Preview Lab → · Contrast checker → · Palette generator →

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