#0D2952#0D2952

#0D2952 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.6% C 0.082 H 258.3°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#0D2952
RGBrgb(13, 41, 82)
HSLhsl(216, 73%, 19%)
HSVhsv(216, 84%, 32%)
CMYKcmyk(84.1%, 50%, 0%, 67.8%)
CIE-LABlab(16.89, 6.54, -28.05)
CIE-LCHlch(16.89, 28.81, 283.12°)
OKLaboklab(28.55% -0.0167 -0.0805)
OKLCHoklch(28.55% 0.082 258.3)
XYZxyz(2.4814, 2.2804, 8.2904)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2952 #52360D
analogous
#0D4B52 #0D2952 #130D52
triadic
#0D2952 #520D29 #29520D
tetradic
#0D2952 #520D4B #52360D #0D5213
square
#0D2952 #520D4B #52360D #0D5213
split-complementary
#0D2952 #52130D #4B520D
monochromatic
#040D1A #050F1D #0D2952 #154387 #1E5EBC

Accessibility & contrast

On white

14.42
#0D2952 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#0D2952 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2952
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2952#FFFFFF#000000##FFFFFF
##0D29521.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132D54
Deuteranopia (green-blind)
#042751
Tritanopia (blue-blind)
#003339
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0d2952;
/* rgb */ color: rgb(13, 41, 82);
/* oklch */ color: oklch(28.6% 0.082 258.3);
Tailwind
colors: {
  custom: {
    50: '#586283',
    500: '#0d2952',
    950: '#000000',
  },
}
SCSS
$custom: #0d2952;
$custom-light: #586283;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2952",
  "rgb": {
    "r": 13,
    "g": 41,
    "b": 82
  },
  "hsl": {
    "h": 215.652,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28553,
    "c": 0.08218,
    "h": 258.3
  },
  "luminance": 0.02281
}

Semantic roles & 50–950 ramp

primary
#0D2952
secondary
#8D662E
accent
#A538EF
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050A
muted
#79797C

Preview Lab

Preview with #0D2952

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

Preview Lab → · Contrast checker → · Palette generator →

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