#0D2A52#0D2A52

#0D2A52 is a dark, moderate cyan. Relative luminance 0.024; OKLCH L 28.8% C 0.081 H 257.4°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#0D2A52
RGBrgb(13, 42, 82)
HSLhsl(215, 73%, 19%)
HSVhsv(215, 84%, 32%)
CMYKcmyk(84.1%, 48.8%, 0%, 67.8%)
CIE-LABlab(17.23, 5.80, -27.52)
CIE-LCHlch(17.23, 28.12, 281.90°)
OKLaboklab(28.81% -0.0177 -0.0789)
OKLCHoklch(28.81% 0.081 257.4)
XYZxyz(2.5164, 2.3504, 8.3021)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2A52 #52350D
analogous
#0D4C52 #0D2A52 #120D52
triadic
#0D2A52 #520D2A #2A520D
tetradic
#0D2A52 #520D4C #52350D #0D5212
square
#0D2A52 #520D4C #52350D #0D5212
split-complementary
#0D2A52 #52120D #4C520D
monochromatic
#040E1A #050F1D #0D2A52 #154587 #1E60BC

Accessibility & contrast

On white

14.28
#0D2A52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#0D2A52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2A52
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2A52#FFFFFF#000000##FFFFFF
##0D2A521.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152E54
Deuteranopia (green-blind)
#072751
Tritanopia (blue-blind)
#00333A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0d2a52;
/* rgb */ color: rgb(13, 42, 82);
/* oklch */ color: oklch(28.8% 0.081 257.4);
Tailwind
colors: {
  custom: {
    50: '#586383',
    500: '#0d2a52',
    950: '#000000',
  },
}
SCSS
$custom: #0d2a52;
$custom-light: #586383;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2a52",
  "rgb": {
    "r": 13,
    "g": 42,
    "b": 82
  },
  "hsl": {
    "h": 214.783,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28811,
    "c": 0.08083,
    "h": 257.4
  },
  "luminance": 0.02351
}

Semantic roles & 50–950 ramp

primary
#0D2A52
secondary
#8D652E
accent
#A238EF
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050A
muted
#79797C

Preview Lab

Preview with #0D2A52

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

Preview Lab → · Contrast checker → · Palette generator →

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