#0D2652#0D2652

#0D2652 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 27.8% C 0.086 H 260.8°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#0D2652
RGBrgb(13, 38, 82)
HSLhsl(218, 73%, 19%)
HSVhsv(218, 84%, 32%)
CMYKcmyk(84.1%, 53.7%, 0%, 67.8%)
CIE-LABlab(15.91, 8.79, -29.65)
CIE-LCHlch(15.91, 30.92, 286.51°)
OKLaboklab(27.79% -0.0139 -0.0852)
OKLCHoklch(27.79% 0.086 260.8)
XYZxyz(2.3815, 2.0807, 8.2571)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2652 #52390D
analogous
#0D4852 #0D2652 #160D52
triadic
#0D2652 #520D26 #26520D
tetradic
#0D2652 #520D48 #52390D #0D5216
square
#0D2652 #520D48 #52390D #0D5216
split-complementary
#0D2652 #52160D #48520D
monochromatic
#040C1A #050E1D #0D2652 #153E87 #1E57BC

Accessibility & contrast

On white

14.83
#0D2652 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#0D2652 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2652
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2652#FFFFFF#000000##FFFFFF
##0D26521.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2B54
Deuteranopia (green-blind)
#002551
Tritanopia (blue-blind)
#003138
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0d2652;
/* rgb */ color: rgb(13, 38, 82);
/* oklch */ color: oklch(27.8% 0.086 260.8);
Tailwind
colors: {
  custom: {
    50: '#585f83',
    500: '#0d2652',
    950: '#000000',
  },
}
SCSS
$custom: #0d2652;
$custom-light: #585f83;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2652",
  "rgb": {
    "r": 13,
    "g": 38,
    "b": 82
  },
  "hsl": {
    "h": 218.261,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.27793,
    "c": 0.08635,
    "h": 260.8
  },
  "luminance": 0.02081
}

Semantic roles & 50–950 ramp

primary
#0D2652
secondary
#8D6A2E
accent
#AD38EF
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040A
muted
#79797C

Preview Lab

Preview with #0D2652

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

Preview Lab → · Contrast checker → · Palette generator →

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