#0D2253#0D2253

#0D2253 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 26.9% C 0.094 H 263.8°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#0D2253
RGBrgb(13, 34, 83)
HSLhsl(222, 73%, 19%)
HSVhsv(222, 84%, 33%)
CMYKcmyk(84.3%, 59%, 0%, 67.5%)
CIE-LABlab(14.70, 12.26, -32.27)
CIE-LCHlch(14.70, 34.52, 290.81°)
OKLaboklab(26.9% -0.0102 -0.093)
OKLCHoklch(26.9% 0.094 263.8)
XYZxyz(2.2988, 1.8539, 8.4186)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2253 #533E0D
analogous
#0D4553 #0D2253 #1B0D53
triadic
#0D2253 #530D22 #22530D
tetradic
#0D2253 #530D45 #533E0D #0D531B
square
#0D2253 #530D45 #533E0D #0D531B
split-complementary
#0D2253 #531B0D #45530D
monochromatic
#040B1A #050C1E #0D2253 #153888 #1E4DBD

Accessibility & contrast

On white

15.32
#0D2253 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D2253
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2253#FFFFFF#000000##FFFFFF
##0D22531.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002855
Deuteranopia (green-blind)
#002252
Tritanopia (blue-blind)
#002E36
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0d2253;
/* rgb */ color: rgb(13, 34, 83);
/* oklch */ color: oklch(26.9% 0.094 263.8);
Tailwind
colors: {
  custom: {
    50: '#595c84',
    500: '#0d2253',
    950: '#000000',
  },
}
SCSS
$custom: #0d2253;
$custom-light: #595c84;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2253",
  "rgb": {
    "r": 13,
    "g": 34,
    "b": 83
  },
  "hsl": {
    "h": 222,
    "s": 72.917,
    "l": 18.824
  },
  "oklch": {
    "l": 0.26901,
    "c": 0.0936,
    "h": 263.8
  },
  "luminance": 0.01854
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #0D2253

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

Preview Lab → · Contrast checker → · Palette generator →

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