#0D2A5B#0D2A5B

#0D2A5B is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.5% C 0.095 H 260.3°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#0D2A5B
RGBrgb(13, 42, 91)
HSLhsl(218, 75%, 20%)
HSVhsv(218, 86%, 36%)
CMYKcmyk(85.7%, 53.8%, 0%, 64.3%)
CIE-LABlab(17.90, 9.78, -32.46)
CIE-LCHlch(17.90, 33.90, 286.76°)
OKLaboklab(29.55% -0.016 -0.0934)
OKLCHoklch(29.55% 0.095 260.3)
XYZxyz(2.8816, 2.4965, 10.2255)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2A5B #5B3E0D
analogous
#0D515B #0D2A5B #170D5B
triadic
#0D2A5B #5B0D2A #2A5B0D
tetradic
#0D2A5B #5B0D51 #5B3E0D #0D5B17
square
#0D2A5B #5B0D51 #5B3E0D #0D5B17
split-complementary
#0D2A5B #5B170D #515B0D
monochromatic
#040C1B #051125 #0D2A5B #154391 #1C5BC6

Accessibility & contrast

On white

14.01
#0D2A5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D2A5B
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2A5B#FFFFFF#000000##FFFFFF
##0D2A5B1.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C305D
Deuteranopia (green-blind)
#00285A
Tritanopia (blue-blind)
#00363E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0d2a5b;
/* rgb */ color: rgb(13, 42, 91);
/* oklch */ color: oklch(29.5% 0.095 260.3);
Tailwind
colors: {
  custom: {
    50: '#5a638a',
    500: '#0d2a5b',
    950: '#000000',
  },
}
SCSS
$custom: #0d2a5b;
$custom-light: #5a638a;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2a5b",
  "rgb": {
    "r": 13,
    "g": 42,
    "b": 91
  },
  "hsl": {
    "h": 217.692,
    "s": 75,
    "l": 20.392
  },
  "oklch": {
    "l": 0.29546,
    "c": 0.09477,
    "h": 260.3
  },
  "luminance": 0.02497
}

Semantic roles & 50–950 ramp

primary
#0D2A5B
secondary
#956F2F
accent
#AC36F2
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#04050C
muted
#79797D

Preview Lab

Preview with #0D2A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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