#0D2554#0D2554

#0D2554 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.7% C 0.091 H 262.0°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#0D2554
RGBrgb(13, 37, 84)
HSLhsl(220, 73%, 19%)
HSVhsv(220, 85%, 33%)
CMYKcmyk(84.5%, 56%, 0%, 67.1%)
CIE-LABlab(15.74, 10.43, -31.26)
CIE-LCHlch(15.74, 32.96, 288.45°)
OKLaboklab(27.72% -0.0126 -0.09)
OKLCHoklch(27.72% 0.091 262)
XYZxyz(2.4272, 2.0485, 8.6533)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2554 #543C0D
analogous
#0D4954 #0D2554 #190D54
triadic
#0D2554 #540D25 #25540D
tetradic
#0D2554 #540D49 #543C0D #0D5419
square
#0D2554 #540D49 #543C0D #0D5419
split-complementary
#0D2554 #54190D #49540D
monochromatic
#040C1A #050E1F #0D2554 #153C89 #1D54BE

Accessibility & contrast

On white

14.90
#0D2554 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#0D2554 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2554
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2554#FFFFFF#000000##FFFFFF
##0D25541.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062B56
Deuteranopia (green-blind)
#002453
Tritanopia (blue-blind)
#003038
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0d2554;
/* rgb */ color: rgb(13, 37, 84);
/* oklch */ color: oklch(27.7% 0.091 262.0);
Tailwind
colors: {
  custom: {
    50: '#595e84',
    500: '#0d2554',
    950: '#000000',
  },
}
SCSS
$custom: #0d2554;
$custom-light: #595e84;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2554",
  "rgb": {
    "r": 13,
    "g": 37,
    "b": 84
  },
  "hsl": {
    "h": 219.718,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.27717,
    "c": 0.09089,
    "h": 262
  },
  "luminance": 0.02049
}

Semantic roles & 50–950 ramp

primary
#0D2554
secondary
#8F6E2E
accent
#B238F0
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0D2554

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

Preview Lab → · Contrast checker → · Palette generator →

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