#0D2051#0D2051

#0D2051 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.2% C 0.093 H 264.7°. Best body text is #FFFFFF at 15.64:1 contrast (WCAG AA passes).

Color values

HEX#0D2051
RGBrgb(13, 32, 81)
HSLhsl(223, 72%, 18%)
HSVhsv(223, 84%, 32%)
CMYKcmyk(84%, 60.5%, 0%, 68.2%)
CIE-LABlab(13.90, 12.91, -32.21)
CIE-LCHlch(13.90, 34.70, 291.83°)
OKLaboklab(26.24% -0.0087 -0.0929)
OKLCHoklch(26.24% 0.093 264.7)
XYZxyz(2.1672, 1.7124, 7.9993)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2051 #513E0D
analogous
#0D4251 #0D2051 #1C0D51
triadic
#0D2051 #510D20 #20510D
tetradic
#0D2051 #510D42 #513E0D #0D511C
square
#0D2051 #510D42 #513E0D #0D511C
split-complementary
#0D2051 #511C0D #42510D
monochromatic
#040A1A #050B1C #0D2051 #153586 #1E4ABA

Accessibility & contrast

On white

15.64
#0D2051 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#0D2051 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2051
15.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2051#FFFFFF#000000##FFFFFF
##0D20511.0015.641.3415.64
#FFFFFF15.641.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002753
Deuteranopia (green-blind)
#002050
Tritanopia (blue-blind)
#002C35
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0d2051;
/* rgb */ color: rgb(13, 32, 81);
/* oklch */ color: oklch(26.2% 0.093 264.7);
Tailwind
colors: {
  custom: {
    50: '#585a82',
    500: '#0d2051',
    950: '#000000',
  },
}
SCSS
$custom: #0d2051;
$custom-light: #585a82;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2051",
  "rgb": {
    "r": 13,
    "g": 32,
    "b": 81
  },
  "hsl": {
    "h": 223.235,
    "s": 72.34,
    "l": 18.431
  },
  "oklch": {
    "l": 0.26241,
    "c": 0.09331,
    "h": 264.7
  },
  "luminance": 0.01713
}

Semantic roles & 50–950 ramp

primary
#0D2051
secondary
#8C722E
accent
#BC39EF
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030A
muted
#79787C

Preview Lab

Preview with #0D2051

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

Preview Lab → · Contrast checker → · Palette generator →

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