#0D2054#0D2054

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

Color values

HEX#0D2054
RGBrgb(13, 32, 84)
HSLhsl(224, 73%, 19%)
HSVhsv(224, 85%, 33%)
CMYKcmyk(84.5%, 61.9%, 0%, 67.1%)
CIE-LABlab(14.16, 14.23, -33.82)
CIE-LCHlch(14.16, 36.69, 292.82°)
OKLaboklab(26.52% -0.0085 -0.0976)
OKLCHoklch(26.52% 0.098 265)
XYZxyz(2.2822, 1.7584, 8.6049)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2054 #54410D
analogous
#0D4454 #0D2054 #1E0D54
triadic
#0D2054 #540D20 #20540D
tetradic
#0D2054 #540D44 #54410D #0D541E
square
#0D2054 #540D44 #54410D #0D541E
split-complementary
#0D2054 #541E0D #44540D
monochromatic
#040A1A #050C1F #0D2054 #153489 #1D48BE

Accessibility & contrast

On white

15.53
#0D2054 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#0D2054 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2054
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2054#FFFFFF#000000##FFFFFF
##0D20541.0015.531.3515.53
#FFFFFF15.531.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002756
Deuteranopia (green-blind)
#002153
Tritanopia (blue-blind)
#002D36
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #0d2054;
/* rgb */ color: rgb(13, 32, 84);
/* oklch */ color: oklch(26.5% 0.098 265.0);
Tailwind
colors: {
  custom: {
    50: '#595a85',
    500: '#0d2054',
    950: '#000000',
  },
}
SCSS
$custom: #0d2054;
$custom-light: #595a85;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2054",
  "rgb": {
    "r": 13,
    "g": 32,
    "b": 84
  },
  "hsl": {
    "h": 223.944,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.26524,
    "c": 0.098,
    "h": 265
  },
  "luminance": 0.01759
}

Semantic roles & 50–950 ramp

primary
#0D2054
secondary
#8F752E
accent
#BF38F0
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0D2054

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

Preview Lab → · Contrast checker → · Palette generator →

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