#0D2155#0D2155

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

Color values

HEX#0D2155
RGBrgb(13, 33, 85)
HSLhsl(223, 73%, 19%)
HSVhsv(223, 85%, 33%)
CMYKcmyk(84.7%, 61.2%, 0%, 66.7%)
CIE-LABlab(14.56, 13.90, -33.85)
CIE-LCHlch(14.56, 36.59, 292.33°)
OKLaboklab(26.85% -0.0092 -0.0977)
OKLCHoklch(26.85% 0.098 264.6)
XYZxyz(2.3489, 1.8289, 8.8218)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2155 #55410D
analogous
#0D4555 #0D2155 #1D0D55
triadic
#0D2155 #550D21 #21550D
tetradic
#0D2155 #550D45 #55410D #0D551D
square
#0D2155 #550D45 #55410D #0D551D
split-complementary
#0D2155 #551D0D #45550D
monochromatic
#040A1B #050C20 #0D2155 #15368A #1D4ABF

Accessibility & contrast

On white

15.38
#0D2155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D2155
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2155#FFFFFF#000000##FFFFFF
##0D21551.0015.381.3715.38
#FFFFFF15.381.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0d2155;
/* rgb */ color: rgb(13, 33, 85);
/* oklch */ color: oklch(26.9% 0.098 264.6);
Tailwind
colors: {
  custom: {
    50: '#595b85',
    500: '#0d2155',
    950: '#000000',
  },
}
SCSS
$custom: #0d2155;
$custom-light: #595b85;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2155",
  "rgb": {
    "r": 13,
    "g": 33,
    "b": 85
  },
  "hsl": {
    "h": 223.333,
    "s": 73.469,
    "l": 19.216
  },
  "oklch": {
    "l": 0.26852,
    "c": 0.09812,
    "h": 264.6
  },
  "luminance": 0.01829
}

Semantic roles & 50–950 ramp

primary
#0D2155
secondary
#90752E
accent
#BD38F0
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0D2155

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

Preview Lab → · Contrast checker → · Palette generator →

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