#0D2352#0D2352

#0D2352 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.1% C 0.091 H 262.9°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#0D2352
RGBrgb(13, 35, 82)
HSLhsl(221, 73%, 19%)
HSVhsv(221, 84%, 32%)
CMYKcmyk(84.1%, 57.3%, 0%, 67.8%)
CIE-LABlab(14.94, 11.06, -31.21)
CIE-LCHlch(14.94, 33.12, 289.51°)
OKLaboklab(27.05% -0.0111 -0.0899)
OKLCHoklch(27.05% 0.091 262.9)
XYZxyz(2.2895, 1.8966, 8.2264)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2352 #523C0D
analogous
#0D4552 #0D2352 #190D52
triadic
#0D2352 #520D23 #23520D
tetradic
#0D2352 #520D45 #523C0D #0D5219
square
#0D2352 #520D45 #523C0D #0D5219
split-complementary
#0D2352 #52190D #45520D
monochromatic
#040B1A #050C1D #0D2352 #153A87 #1E50BC

Accessibility & contrast

On white

15.22
#0D2352 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#0D2352 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2352
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2352#FFFFFF#000000##FFFFFF
##0D23521.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032954
Deuteranopia (green-blind)
#002351
Tritanopia (blue-blind)
#002E36
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0d2352;
/* rgb */ color: rgb(13, 35, 82);
/* oklch */ color: oklch(27.1% 0.091 262.9);
Tailwind
colors: {
  custom: {
    50: '#585d83',
    500: '#0d2352',
    950: '#000000',
  },
}
SCSS
$custom: #0d2352;
$custom-light: #585d83;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2352",
  "rgb": {
    "r": 13,
    "g": 35,
    "b": 82
  },
  "hsl": {
    "h": 220.87,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.27052,
    "c": 0.0906,
    "h": 262.9
  },
  "luminance": 0.01897
}

Semantic roles & 50–950 ramp

primary
#0D2352
secondary
#8D6F2E
accent
#B538EF
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040A
muted
#79797C

Preview Lab

Preview with #0D2352

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

Preview Lab → · Contrast checker → · Palette generator →

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