#0D2351#0D2351

#0D2351 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.0% C 0.089 H 262.7°. Best body text is #FFFFFF at 15.26:1 contrast (WCAG AA passes).

Color values

HEX#0D2351
RGBrgb(13, 35, 81)
HSLhsl(221, 72%, 18%)
HSVhsv(221, 84%, 32%)
CMYKcmyk(84%, 56.8%, 0%, 68.2%)
CIE-LABlab(14.85, 10.62, -30.67)
CIE-LCHlch(14.85, 32.45, 289.09°)
OKLaboklab(26.96% -0.0113 -0.0883)
OKLCHoklch(26.96% 0.089 262.7)
XYZxyz(2.2517, 1.8815, 8.0275)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2351 #513B0D
analogous
#0D4551 #0D2351 #190D51
triadic
#0D2351 #510D23 #23510D
tetradic
#0D2351 #510D45 #513B0D #0D5119
square
#0D2351 #510D45 #513B0D #0D5119
split-complementary
#0D2351 #51190D #45510D
monochromatic
#040B1A #050C1C #0D2351 #153A86 #1E51BA

Accessibility & contrast

On white

15.26
#0D2351 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D2351
15.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2351#FFFFFF#000000##FFFFFF
##0D23511.0015.261.3815.26
#FFFFFF15.261.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0d2351;
/* rgb */ color: rgb(13, 35, 81);
/* oklch */ color: oklch(27.0% 0.089 262.7);
Tailwind
colors: {
  custom: {
    50: '#585d82',
    500: '#0d2351',
    950: '#000000',
  },
}
SCSS
$custom: #0d2351;
$custom-light: #585d82;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2351",
  "rgb": {
    "r": 13,
    "g": 35,
    "b": 81
  },
  "hsl": {
    "h": 220.588,
    "s": 72.34,
    "l": 18.431
  },
  "oklch": {
    "l": 0.26963,
    "c": 0.08902,
    "h": 262.7
  },
  "luminance": 0.01882
}

Semantic roles & 50–950 ramp

primary
#0D2351
secondary
#8C6E2E
accent
#B439EF
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040A
muted
#79797C

Preview Lab

Preview with #0D2351

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

Preview Lab → · Contrast checker → · Palette generator →

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