#0D2D52#0D2D52

#0D2D52 is a dark, moderate cyan. Relative luminance 0.026; OKLCH L 29.6% C 0.077 H 254.4°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#0D2D52
RGBrgb(13, 45, 82)
HSLhsl(212, 73%, 19%)
HSVhsv(212, 84%, 32%)
CMYKcmyk(84.1%, 45.1%, 0%, 67.8%)
CIE-LABlab(18.24, 3.59, -25.90)
CIE-LCHlch(18.24, 26.15, 277.90°)
OKLaboklab(29.59% -0.0207 -0.0741)
OKLCHoklch(29.59% 0.077 254.4)
XYZxyz(2.6268, 2.5712, 8.3389)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2D52 #52320D
analogous
#0D4F52 #0D2D52 #0F0D52
triadic
#0D2D52 #520D2D #2D520D
tetradic
#0D2D52 #520D4F #52320D #0D520F
square
#0D2D52 #520D4F #52320D #0D520F
split-complementary
#0D2D52 #520F0D #4F520D
monochromatic
#040E1A #05101D #0D2D52 #154A87 #1E67BC

Accessibility & contrast

On white

13.87
#0D2D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D2D52
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2D52#FFFFFF#000000##FFFFFF
##0D2D521.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3053
Deuteranopia (green-blind)
#0F2A51
Tritanopia (blue-blind)
#00363B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0d2d52;
/* rgb */ color: rgb(13, 45, 82);
/* oklch */ color: oklch(29.6% 0.077 254.4);
Tailwind
colors: {
  custom: {
    50: '#586583',
    500: '#0d2d52',
    950: '#000000',
  },
}
SCSS
$custom: #0d2d52;
$custom-light: #586583;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2d52",
  "rgb": {
    "r": 13,
    "g": 45,
    "b": 82
  },
  "hsl": {
    "h": 212.174,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.29594,
    "c": 0.07689,
    "h": 254.4
  },
  "luminance": 0.02572
}

Semantic roles & 50–950 ramp

primary
#0D2D52
secondary
#8D612E
accent
#9B38EF
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050A
muted
#797A7C

Preview Lab

Preview with #0D2D52

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

Preview Lab → · Contrast checker → · Palette generator →

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