#0D2149#0D2149

#0D2149 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 25.8% C 0.079 H 262.3°. Best body text is #FFFFFF at 15.78:1 contrast (WCAG AA passes).

Color values

HEX#0D2149
RGBrgb(13, 33, 73)
HSLhsl(220, 70%, 17%)
HSVhsv(220, 82%, 29%)
CMYKcmyk(82.2%, 54.8%, 0%, 71.4%)
CIE-LABlab(13.56, 8.59, -27.29)
CIE-LCHlch(13.56, 28.61, 287.47°)
OKLaboklab(25.77% -0.0105 -0.0784)
OKLCHoklch(25.77% 0.079 262.3)
XYZxyz(1.9120, 1.6541, 6.5205)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2149 #49350D
analogous
#0D3F49 #0D2149 #170D49
triadic
#0D2149 #490D21 #21490D
tetradic
#0D2149 #490D3F #49350D #0D4917
square
#0D2149 #490D3F #49350D #0D4917
split-complementary
#0D2149 #49170D #3F490D
monochromatic
#050C1A #050C1A #0D2149 #16387D #2050B1

Accessibility & contrast

On white

15.78
#0D2149 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D2149
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2149#FFFFFF#000000##FFFFFF
##0D21491.0015.781.3315.78
#FFFFFF15.781.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0d2149;
/* rgb */ color: rgb(13, 33, 73);
/* oklch */ color: oklch(25.8% 0.079 262.3);
Tailwind
colors: {
  custom: {
    50: '#565b7c',
    500: '#0d2149',
    950: '#000000',
  },
}
SCSS
$custom: #0d2149;
$custom-light: #565b7c;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2149",
  "rgb": {
    "r": 13,
    "g": 33,
    "b": 73
  },
  "hsl": {
    "h": 220,
    "s": 69.767,
    "l": 16.863
  },
  "oklch": {
    "l": 0.25769,
    "c": 0.07911,
    "h": 262.3
  },
  "luminance": 0.01654
}

Semantic roles & 50–950 ramp

primary
#0D2149
secondary
#84672D
accent
#B13BED
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#030409
muted
#78797B

Preview Lab

Preview with #0D2149

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

Preview Lab → · Contrast checker → · Palette generator →

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