#0D2248#0D2248

#0D2248 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 25.9% C 0.076 H 261.1°. Best body text is #FFFFFF at 15.68:1 contrast (WCAG AA passes).

Color values

HEX#0D2248
RGBrgb(13, 34, 72)
HSLhsl(219, 69%, 17%)
HSVhsv(219, 82%, 28%)
CMYKcmyk(81.9%, 52.8%, 0%, 71.8%)
CIE-LABlab(13.81, 7.38, -26.19)
CIE-LCHlch(13.81, 27.21, 285.73°)
OKLaboklab(25.94% -0.0117 -0.0751)
OKLCHoklch(25.94% 0.076 261.1)
XYZxyz(1.9073, 1.6973, 6.3567)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2248 #48330D
analogous
#0D4048 #0D2248 #160D48
triadic
#0D2248 #480D22 #22480D
tetradic
#0D2248 #480D40 #48330D #0D4816
square
#0D2248 #480D40 #48330D #0D4816
split-complementary
#0D2248 #48160D #40480D
monochromatic
#050C1A #050C1A #0D2248 #163A7C #2053B0

Accessibility & contrast

On white

15.68
#0D2248 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#0D2248 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2248
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2248#FFFFFF#000000##FFFFFF
##0D22481.0015.681.3415.68
#FFFFFF15.681.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2649
Deuteranopia (green-blind)
#022147
Tritanopia (blue-blind)
#002B31
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0d2248;
/* rgb */ color: rgb(13, 34, 72);
/* oklch */ color: oklch(25.9% 0.076 261.1);
Tailwind
colors: {
  custom: {
    50: '#555c7b',
    500: '#0d2248',
    950: '#000000',
  },
}
SCSS
$custom: #0d2248;
$custom-light: #555c7b;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2248",
  "rgb": {
    "r": 13,
    "g": 34,
    "b": 72
  },
  "hsl": {
    "h": 218.644,
    "s": 69.412,
    "l": 16.667
  },
  "oklch": {
    "l": 0.2594,
    "c": 0.07605,
    "h": 261.1
  },
  "luminance": 0.01697
}

Semantic roles & 50–950 ramp

primary
#0D2248
secondary
#83652D
accent
#AD3CEC
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#030409
muted
#78797B

Preview Lab

Preview with #0D2248

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

Preview Lab → · Contrast checker → · Palette generator →

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