#0D2148#0D2148

#0D2148 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.7% C 0.077 H 262.0°. Best body text is #FFFFFF at 15.81:1 contrast (WCAG AA passes).

Color values

HEX#0D2148
RGBrgb(13, 33, 72)
HSLhsl(220, 69%, 17%)
HSVhsv(220, 82%, 28%)
CMYKcmyk(81.9%, 54.2%, 0%, 71.8%)
CIE-LABlab(13.48, 8.14, -26.72)
CIE-LCHlch(13.48, 27.94, 286.94°)
OKLaboklab(25.68% -0.0107 -0.0767)
OKLCHoklch(25.68% 0.077 262)
XYZxyz(1.8791, 1.6410, 6.3473)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2148 #48340D
analogous
#0D3F48 #0D2148 #170D48
triadic
#0D2148 #480D21 #21480D
tetradic
#0D2148 #480D3F #48340D #0D4817
square
#0D2148 #480D3F #48340D #0D4817
split-complementary
#0D2148 #48170D #3F480D
monochromatic
#050C1A #050C1A #0D2148 #16397C #2051B0

Accessibility & contrast

On white

15.81
#0D2148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D2148
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2148#FFFFFF#000000##FFFFFF
##0D21481.0015.811.3315.81
#FFFFFF15.811.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2549
Deuteranopia (green-blind)
#002047
Tritanopia (blue-blind)
#002A31
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0d2148;
/* rgb */ color: rgb(13, 33, 72);
/* oklch */ color: oklch(25.7% 0.077 262.0);
Tailwind
colors: {
  custom: {
    50: '#555b7b',
    500: '#0d2148',
    950: '#000000',
  },
}
SCSS
$custom: #0d2148;
$custom-light: #555b7b;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2148",
  "rgb": {
    "r": 13,
    "g": 33,
    "b": 72
  },
  "hsl": {
    "h": 219.661,
    "s": 69.412,
    "l": 16.667
  },
  "oklch": {
    "l": 0.25684,
    "c": 0.07749,
    "h": 262
  },
  "luminance": 0.01641
}

Semantic roles & 50–950 ramp

primary
#0D2148
secondary
#83662D
accent
#B03CEC
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#030409
muted
#78797B

Preview Lab

Preview with #0D2148

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

Preview Lab → · Contrast checker → · Palette generator →

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