#0D2254#0D2254

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

Color values

HEX#0D2254
RGBrgb(13, 34, 84)
HSLhsl(222, 73%, 19%)
HSVhsv(222, 85%, 33%)
CMYKcmyk(84.5%, 59.5%, 0%, 67.1%)
CIE-LABlab(14.79, 12.71, -32.81)
CIE-LCHlch(14.79, 35.18, 291.17°)
OKLaboklab(26.99% -0.0101 -0.0946)
OKLCHoklch(26.99% 0.095 263.9)
XYZxyz(2.3377, 1.8694, 8.6234)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2254 #543F0D
analogous
#0D4654 #0D2254 #1C0D54
triadic
#0D2254 #540D22 #22540D
tetradic
#0D2254 #540D46 #543F0D #0D541C
square
#0D2254 #540D46 #543F0D #0D541C
split-complementary
#0D2254 #541C0D #46540D
monochromatic
#040B1A #050D1F #0D2254 #153789 #1D4DBE

Accessibility & contrast

On white

15.28
#0D2254 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D2254
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2254#FFFFFF#000000##FFFFFF
##0D22541.0015.281.3715.28
#FFFFFF15.281.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0d2254;
/* rgb */ color: rgb(13, 34, 84);
/* oklch */ color: oklch(27.0% 0.095 263.9);
Tailwind
colors: {
  custom: {
    50: '#595c85',
    500: '#0d2254',
    950: '#000000',
  },
}
SCSS
$custom: #0d2254;
$custom-light: #595c85;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2254",
  "rgb": {
    "r": 13,
    "g": 34,
    "b": 84
  },
  "hsl": {
    "h": 222.254,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.26993,
    "c": 0.09516,
    "h": 263.9
  },
  "luminance": 0.0187
}

Semantic roles & 50–950 ramp

primary
#0D2254
secondary
#8F722E
accent
#B938F0
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0D2254

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

Preview Lab → · Contrast checker → · Palette generator →

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