#0D2A55#0D2A55

#0D2A55 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.0% C 0.086 H 258.5°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#0D2A55
RGBrgb(13, 42, 85)
HSLhsl(216, 73%, 19%)
HSVhsv(216, 85%, 33%)
CMYKcmyk(84.7%, 50.6%, 0%, 66.7%)
CIE-LABlab(17.45, 7.12, -29.18)
CIE-LCHlch(17.45, 30.04, 283.71°)
OKLaboklab(29.05% -0.017 -0.0838)
OKLCHoklch(29.05% 0.086 258.5)
XYZxyz(2.6330, 2.3971, 8.9165)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2A55 #55380D
analogous
#0D4E55 #0D2A55 #140D55
triadic
#0D2A55 #550D2A #2A550D
tetradic
#0D2A55 #550D4E #55380D #0D5514
square
#0D2A55 #550D4E #55380D #0D5514
split-complementary
#0D2A55 #55140D #4E550D
monochromatic
#040D1B #051020 #0D2A55 #15448A #1D5EBF

Accessibility & contrast

On white

14.19
#0D2A55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D2A55
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2A55#FFFFFF#000000##FFFFFF
##0D2A551.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132E57
Deuteranopia (green-blind)
#022854
Tritanopia (blue-blind)
#00343B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0d2a55;
/* rgb */ color: rgb(13, 42, 85);
/* oklch */ color: oklch(29.0% 0.086 258.5);
Tailwind
colors: {
  custom: {
    50: '#596385',
    500: '#0d2a55',
    950: '#000000',
  },
}
SCSS
$custom: #0d2a55;
$custom-light: #596385;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2a55",
  "rgb": {
    "r": 13,
    "g": 42,
    "b": 85
  },
  "hsl": {
    "h": 215.833,
    "s": 73.469,
    "l": 19.216
  },
  "oklch": {
    "l": 0.2905,
    "c": 0.0855,
    "h": 258.5
  },
  "luminance": 0.02397
}

Semantic roles & 50–950 ramp

primary
#0D2A55
secondary
#90682E
accent
#A638F0
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #0D2A55

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

Preview Lab → · Contrast checker → · Palette generator →

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