#0D295F#0D295F

#0D295F is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.7% C 0.102 H 261.8°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#0D295F
RGBrgb(13, 41, 95)
HSLhsl(220, 76%, 21%)
HSVhsv(220, 86%, 37%)
CMYKcmyk(86.3%, 56.8%, 0%, 62.7%)
CIE-LABlab(17.91, 12.28, -35.10)
CIE-LCHlch(17.91, 37.19, 289.28°)
OKLaboklab(29.65% -0.0146 -0.1012)
OKLCHoklch(29.65% 0.102 261.8)
XYZxyz(3.0237, 2.4973, 11.1469)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D295F #5F430D
analogous
#0D525F #0D295F #1A0D5F
triadic
#0D295F #5F0D29 #295F0D
tetradic
#0D295F #5F0D52 #5F430D #0D5F1A
square
#0D295F #5F0D52 #5F430D #0D5F1A
split-complementary
#0D295F #5F1A0D #525F0D
monochromatic
#040C1B #061229 #0D295F #144095 #1C57CB

Accessibility & contrast

On white

14.00
#0D295F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D295F
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D295F#FFFFFF#000000##FFFFFF
##0D295F1.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0d295f;
/* rgb */ color: rgb(13, 41, 95);
/* oklch */ color: oklch(29.7% 0.102 261.8);
Tailwind
colors: {
  custom: {
    50: '#5c628d',
    500: '#0d295f',
    950: '#000000',
  },
}
SCSS
$custom: #0d295f;
$custom-light: #5c628d;
$custom-dark: #000000;
JSON
{
  "hex": "#0d295f",
  "rgb": {
    "r": 13,
    "g": 41,
    "b": 95
  },
  "hsl": {
    "h": 219.512,
    "s": 75.926,
    "l": 21.176
  },
  "oklch": {
    "l": 0.29651,
    "c": 0.10226,
    "h": 261.8
  },
  "luminance": 0.02498
}

Semantic roles & 50–950 ramp

primary
#0D295F
secondary
#99752F
accent
#B235F3
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #0D295F

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

Preview Lab → · Contrast checker → · Palette generator →

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