#0D2156#0D2156

#0D2156 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.9% C 0.100 H 264.7°. Best body text is #FFFFFF at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#0D2156
RGBrgb(13, 33, 86)
HSLhsl(224, 74%, 19%)
HSVhsv(224, 85%, 34%)
CMYKcmyk(84.9%, 61.6%, 0%, 66.3%)
CIE-LABlab(14.65, 14.35, -34.38)
CIE-LCHlch(14.65, 37.25, 292.65°)
OKLaboklab(26.95% -0.0091 -0.0992)
OKLCHoklch(26.95% 0.1 264.7)
XYZxyz(2.3890, 1.8449, 9.0325)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2156 #56420D
analogous
#0D4656 #0D2156 #1E0D56
triadic
#0D2156 #560D21 #21560D
tetradic
#0D2156 #560D46 #56420D #0D561E
square
#0D2156 #560D46 #56420D #0D561E
split-complementary
#0D2156 #561E0D #46560D
monochromatic
#040A1B #050D21 #0D2156 #15358B #1D4AC0

Accessibility & contrast

On white

15.34
#0D2156 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D2156
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2156#FFFFFF#000000##FFFFFF
##0D21561.0015.341.3715.34
#FFFFFF15.341.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002858
Deuteranopia (green-blind)
#002255
Tritanopia (blue-blind)
#002E37
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0d2156;
/* rgb */ color: rgb(13, 33, 86);
/* oklch */ color: oklch(26.9% 0.100 264.7);
Tailwind
colors: {
  custom: {
    50: '#5a5b86',
    500: '#0d2156',
    950: '#000000',
  },
}
SCSS
$custom: #0d2156;
$custom-light: #5a5b86;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2156",
  "rgb": {
    "r": 13,
    "g": 33,
    "b": 86
  },
  "hsl": {
    "h": 223.562,
    "s": 73.737,
    "l": 19.412
  },
  "oklch": {
    "l": 0.26946,
    "c": 0.09967,
    "h": 264.7
  },
  "luminance": 0.01845
}

Semantic roles & 50–950 ramp

primary
#0D2156
secondary
#91762E
accent
#BE37F0
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0D2156

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

Preview Lab → · Contrast checker → · Palette generator →

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