#0D2252#0D2252

#0D2252 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.8% C 0.092 H 263.6°. Best body text is #FFFFFF at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#0D2252
RGBrgb(13, 34, 82)
HSLhsl(222, 73%, 19%)
HSVhsv(222, 84%, 32%)
CMYKcmyk(84.1%, 58.5%, 0%, 67.8%)
CIE-LABlab(14.62, 11.82, -31.73)
CIE-LCHlch(14.62, 33.86, 290.43°)
OKLaboklab(26.81% -0.0103 -0.0914)
OKLCHoklch(26.81% 0.092 263.6)
XYZxyz(2.2605, 1.8386, 8.2168)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2252 #523D0D
analogous
#0D4452 #0D2252 #1A0D52
triadic
#0D2252 #520D22 #22520D
tetradic
#0D2252 #520D44 #523D0D #0D521A
square
#0D2252 #520D44 #523D0D #0D521A
split-complementary
#0D2252 #521A0D #44520D
monochromatic
#040B1A #050C1D #0D2252 #153887 #1E4EBC

Accessibility & contrast

On white

15.35
#0D2252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#0D2252 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2252
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2252#FFFFFF#000000##FFFFFF
##0D22521.0015.351.3715.35
#FFFFFF15.351.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012854
Deuteranopia (green-blind)
#002251
Tritanopia (blue-blind)
#002E36
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0d2252;
/* rgb */ color: rgb(13, 34, 82);
/* oklch */ color: oklch(26.8% 0.092 263.6);
Tailwind
colors: {
  custom: {
    50: '#585c83',
    500: '#0d2252',
    950: '#000000',
  },
}
SCSS
$custom: #0d2252;
$custom-light: #585c83;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2252",
  "rgb": {
    "r": 13,
    "g": 34,
    "b": 82
  },
  "hsl": {
    "h": 221.739,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.2681,
    "c": 0.09203,
    "h": 263.6
  },
  "luminance": 0.01839
}

Semantic roles & 50–950 ramp

primary
#0D2252
secondary
#8D702E
accent
#B838EF
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040A
muted
#79797C

Preview Lab

Preview with #0D2252

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

Preview Lab → · Contrast checker → · Palette generator →

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