#0D2245#0D2245

#0D2245 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 25.7% C 0.071 H 260.0°. Best body text is #FFFFFF at 15.77:1 contrast (WCAG AA passes).

Color values

HEX#0D2245
RGBrgb(13, 34, 69)
HSLhsl(218, 68%, 16%)
HSVhsv(218, 81%, 27%)
CMYKcmyk(81.2%, 50.7%, 0%, 72.9%)
CIE-LABlab(13.59, 6.04, -24.47)
CIE-LCHlch(13.59, 25.21, 283.86°)
OKLaboklab(25.69% -0.0123 -0.0701)
OKLCHoklch(25.69% 0.071 260)
XYZxyz(1.8118, 1.6591, 5.8538)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2245 #45300D
analogous
#0D3E45 #0D2245 #140D45
triadic
#0D2245 #450D22 #22450D
tetradic
#0D2245 #450D3E #45300D #0D4514
square
#0D2245 #450D3E #45300D #0D4514
split-complementary
#0D2245 #45140D #3E450D
monochromatic
#050D1A #050D1A #0D2245 #173B78 #2055AC

Accessibility & contrast

On white

15.77
#0D2245 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#0D2245 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2245
15.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2245#FFFFFF#000000##FFFFFF
##0D22451.0015.771.3315.77
#FFFFFF15.771.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102646
Deuteranopia (green-blind)
#062044
Tritanopia (blue-blind)
#002A30
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0d2245;
/* rgb */ color: rgb(13, 34, 69);
/* oklch */ color: oklch(25.7% 0.071 260.0);
Tailwind
colors: {
  custom: {
    50: '#555c79',
    500: '#0d2245',
    950: '#000000',
  },
}
SCSS
$custom: #0d2245;
$custom-light: #555c79;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2245",
  "rgb": {
    "r": 13,
    "g": 34,
    "b": 69
  },
  "hsl": {
    "h": 217.5,
    "s": 68.293,
    "l": 16.078
  },
  "oklch": {
    "l": 0.25694,
    "c": 0.07117,
    "h": 260
  },
  "luminance": 0.01659
}

Semantic roles & 50–950 ramp

primary
#0D2245
secondary
#80612D
accent
#AA3DEB
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030409
muted
#78797B

Preview Lab

Preview with #0D2245

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

Preview Lab → · Contrast checker → · Palette generator →

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