#0D2B5C#0D2B5C

#0D2B5C is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.9% C 0.095 H 259.9°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#0D2B5C
RGBrgb(13, 43, 92)
HSLhsl(217, 75%, 21%)
HSVhsv(217, 86%, 36%)
CMYKcmyk(85.9%, 53.3%, 0%, 63.9%)
CIE-LABlab(18.30, 9.47, -32.48)
CIE-LCHlch(18.30, 33.83, 286.26°)
OKLaboklab(29.88% -0.0167 -0.0934)
OKLCHoklch(29.88% 0.095 259.9)
XYZxyz(2.9609, 2.5857, 10.4662)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2B5C #5C3E0D
analogous
#0D525C #0D2B5C #160D5C
triadic
#0D2B5C #5C0D2B #2B5C0D
tetradic
#0D2B5C #5C0D52 #5C3E0D #0D5C16
square
#0D2B5C #5C0D52 #5C3E0D #0D5C16
split-complementary
#0D2B5C #5C160D #525C0D
monochromatic
#040D1B #051226 #0D2B5C #154492 #1C5DC7

Accessibility & contrast

On white

13.84
#0D2B5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#0D2B5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2B5C
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2B5C#FFFFFF#000000##FFFFFF
##0D2B5C1.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D305E
Deuteranopia (green-blind)
#00295B
Tritanopia (blue-blind)
#00373F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0d2b5c;
/* rgb */ color: rgb(13, 43, 92);
/* oklch */ color: oklch(29.9% 0.095 259.9);
Tailwind
colors: {
  custom: {
    50: '#5b638a',
    500: '#0d2b5c',
    950: '#000000',
  },
}
SCSS
$custom: #0d2b5c;
$custom-light: #5b638a;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2b5c",
  "rgb": {
    "r": 13,
    "g": 43,
    "b": 92
  },
  "hsl": {
    "h": 217.215,
    "s": 75.238,
    "l": 20.588
  },
  "oklch": {
    "l": 0.29876,
    "c": 0.09492,
    "h": 259.9
  },
  "luminance": 0.02586
}

Semantic roles & 50–950 ramp

primary
#0D2B5C
secondary
#966F2F
accent
#AA36F2
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#04050C
muted
#79797D

Preview Lab

Preview with #0D2B5C

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

Preview Lab → · Contrast checker → · Palette generator →

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