#0D2559#0D2559

#0D2559 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.2% C 0.099 H 263.0°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#0D2559
RGBrgb(13, 37, 89)
HSLhsl(221, 75%, 20%)
HSVhsv(221, 85%, 35%)
CMYKcmyk(85.4%, 58.4%, 0%, 65.1%)
CIE-LABlab(16.15, 12.64, -33.95)
CIE-LCHlch(16.15, 36.23, 290.42°)
OKLaboklab(28.16% -0.0121 -0.0979)
OKLCHoklch(28.16% 0.099 263)
XYZxyz(2.6301, 2.1297, 9.7217)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2559 #59410D
analogous
#0D4B59 #0D2559 #1B0D59
triadic
#0D2559 #590D25 #25590D
tetradic
#0D2559 #590D4B #59410D #0D591B
square
#0D2559 #590D4B #59410D #0D591B
split-complementary
#0D2559 #591B0D #4B590D
monochromatic
#040B1B #050F24 #0D2559 #153B8E #1D51C4

Accessibility & contrast

On white

14.73
#0D2559 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#0D2559 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2559
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2559#FFFFFF#000000##FFFFFF
##0D25591.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5B
Deuteranopia (green-blind)
#002558
Tritanopia (blue-blind)
#00323B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0d2559;
/* rgb */ color: rgb(13, 37, 89);
/* oklch */ color: oklch(28.2% 0.099 263.0);
Tailwind
colors: {
  custom: {
    50: '#5a5e88',
    500: '#0d2559',
    950: '#000000',
  },
}
SCSS
$custom: #0d2559;
$custom-light: #5a5e88;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2559",
  "rgb": {
    "r": 13,
    "g": 37,
    "b": 89
  },
  "hsl": {
    "h": 221.053,
    "s": 74.51,
    "l": 20
  },
  "oklch": {
    "l": 0.28162,
    "c": 0.09866,
    "h": 263
  },
  "luminance": 0.0213
}

Semantic roles & 50–950 ramp

primary
#0D2559
secondary
#93742E
accent
#B637F1
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04040B
muted
#79797C

Preview Lab

Preview with #0D2559

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

Preview Lab → · Contrast checker → · Palette generator →

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