#0D1C52#0D1C52

#0D1C52 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.4% C 0.101 H 266.9°. Best body text is #FFFFFF at 16.09:1 contrast (WCAG AA passes).

Color values

HEX#0D1C52
RGBrgb(13, 28, 82)
HSLhsl(227, 73%, 19%)
HSVhsv(227, 84%, 32%)
CMYKcmyk(84.1%, 65.9%, 0%, 67.8%)
CIE-LABlab(12.77, 16.39, -34.74)
CIE-LCHlch(12.77, 38.41, 295.26°)
OKLaboklab(25.42% -0.0054 -0.1004)
OKLCHoklch(25.42% 0.101 266.9)
XYZxyz(2.1037, 1.5250, 8.1645)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1C52 #52430D
analogous
#0D3E52 #0D1C52 #200D52
triadic
#0D1C52 #520D1C #1C520D
tetradic
#0D1C52 #520D3E #52430D #0D5220
square
#0D1C52 #520D3E #52430D #0D5220
split-complementary
#0D1C52 #52200D #3E520D
monochromatic
#04091A #050A1D #0D1C52 #152E87 #1E40BC

Accessibility & contrast

On white

16.09
#0D1C52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#0D1C52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1C52
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1C52#FFFFFF#000000##FFFFFF
##0D1C521.0016.091.3116.09
#FFFFFF16.091.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002454
Deuteranopia (green-blind)
#001E51
Tritanopia (blue-blind)
#002A33
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0d1c52;
/* rgb */ color: rgb(13, 28, 82);
/* oklch */ color: oklch(25.4% 0.101 266.9);
Tailwind
colors: {
  custom: {
    50: '#595783',
    500: '#0d1c52',
    950: '#000000',
  },
}
SCSS
$custom: #0d1c52;
$custom-light: #595783;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1c52",
  "rgb": {
    "r": 13,
    "g": 28,
    "b": 82
  },
  "hsl": {
    "h": 226.957,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.25421,
    "c": 0.10055,
    "h": 266.9
  },
  "luminance": 0.01525
}

Semantic roles & 50–950 ramp

primary
#0D1C52
secondary
#8D782E
accent
#C838EF
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #0D1C52

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

Preview Lab → · Contrast checker → · Palette generator →

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