#0D2052#0D2052

#0D2052 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.3% C 0.095 H 264.8°. Best body text is #FFFFFF at 15.61:1 contrast (WCAG AA passes).

Color values

HEX#0D2052
RGBrgb(13, 32, 82)
HSLhsl(223, 73%, 19%)
HSVhsv(223, 84%, 32%)
CMYKcmyk(84.1%, 61%, 0%, 67.8%)
CIE-LABlab(13.99, 13.35, -32.75)
CIE-LCHlch(13.99, 35.37, 292.17°)
OKLaboklab(26.33% -0.0086 -0.0945)
OKLCHoklch(26.33% 0.095 264.8)
XYZxyz(2.2049, 1.7275, 8.1982)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2052 #523F0D
analogous
#0D4252 #0D2052 #1C0D52
triadic
#0D2052 #520D20 #20520D
tetradic
#0D2052 #520D42 #523F0D #0D521C
square
#0D2052 #520D42 #523F0D #0D521C
split-complementary
#0D2052 #521C0D #42520D
monochromatic
#040A1A #050B1D #0D2052 #153587 #1E49BC

Accessibility & contrast

On white

15.61
#0D2052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#0D2052 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2052
15.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2052#FFFFFF#000000##FFFFFF
##0D20521.0015.611.3515.61
#FFFFFF15.611.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002754
Deuteranopia (green-blind)
#002151
Tritanopia (blue-blind)
#002C35
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #0d2052;
/* rgb */ color: rgb(13, 32, 82);
/* oklch */ color: oklch(26.3% 0.095 264.8);
Tailwind
colors: {
  custom: {
    50: '#585a83',
    500: '#0d2052',
    950: '#000000',
  },
}
SCSS
$custom: #0d2052;
$custom-light: #585a83;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2052",
  "rgb": {
    "r": 13,
    "g": 32,
    "b": 82
  },
  "hsl": {
    "h": 223.478,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.26335,
    "c": 0.09488,
    "h": 264.8
  },
  "luminance": 0.01728
}

Semantic roles & 50–950 ramp

primary
#0D2052
secondary
#8D732E
accent
#BD38EF
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0D2052

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

Preview Lab → · Contrast checker → · Palette generator →

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