#0D2B5A#0D2B5A

#0D2B5A is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.7% C 0.092 H 259.3°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#0D2B5A
RGBrgb(13, 43, 90)
HSLhsl(217, 75%, 20%)
HSVhsv(217, 86%, 35%)
CMYKcmyk(85.6%, 52.2%, 0%, 64.7%)
CIE-LABlab(18.15, 8.59, -31.39)
CIE-LCHlch(18.15, 32.55, 285.30°)
OKLaboklab(29.71% -0.017 -0.0903)
OKLCHoklch(29.71% 0.092 259.3)
XYZxyz(2.8746, 2.5512, 10.0118)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2B5A #5A3C0D
analogous
#0D525A #0D2B5A #150D5A
triadic
#0D2B5A #5A0D2B #2B5A0D
tetradic
#0D2B5A #5A0D52 #5A3C0D #0D5A15
square
#0D2B5A #5A0D52 #5A3C0D #0D5A15
split-complementary
#0D2B5A #5A150D #525A0D
monochromatic
#040D1B #051125 #0D2B5A #15458F #1C5EC5

Accessibility & contrast

On white

13.90
#0D2B5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#0D2B5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2B5A
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2B5A#FFFFFF#000000##FFFFFF
##0D2B5A1.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10305C
Deuteranopia (green-blind)
#002959
Tritanopia (blue-blind)
#00363E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0d2b5a;
/* rgb */ color: rgb(13, 43, 90);
/* oklch */ color: oklch(29.7% 0.092 259.3);
Tailwind
colors: {
  custom: {
    50: '#5a6389',
    500: '#0d2b5a',
    950: '#000000',
  },
}
SCSS
$custom: #0d2b5a;
$custom-light: #5a6389;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2b5a",
  "rgb": {
    "r": 13,
    "g": 43,
    "b": 90
  },
  "hsl": {
    "h": 216.623,
    "s": 74.757,
    "l": 20.196
  },
  "oklch": {
    "l": 0.2971,
    "c": 0.09185,
    "h": 259.3
  },
  "luminance": 0.02552
}

Semantic roles & 50–950 ramp

primary
#0D2B5A
secondary
#946D2E
accent
#A936F1
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#04050B
muted
#79797C

Preview Lab

Preview with #0D2B5A

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

Preview Lab → · Contrast checker → · Palette generator →

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