#0D2146#0D2146

#0D2146 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.5% C 0.074 H 261.4°. Best body text is #FFFFFF at 15.87:1 contrast (WCAG AA passes).

Color values

HEX#0D2146
RGBrgb(13, 33, 70)
HSLhsl(219, 69%, 16%)
HSVhsv(219, 81%, 27%)
CMYKcmyk(81.4%, 52.9%, 0%, 72.5%)
CIE-LABlab(13.32, 7.25, -25.59)
CIE-LCHlch(13.32, 26.60, 285.82°)
OKLaboklab(25.52% -0.0111 -0.0734)
OKLCHoklch(25.52% 0.074 261.4)
XYZxyz(1.8149, 1.6153, 6.0093)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2146 #46320D
analogous
#0D3E46 #0D2146 #160D46
triadic
#0D2146 #460D21 #21460D
tetradic
#0D2146 #460D3E #46320D #0D4616
square
#0D2146 #460D3E #46320D #0D4616
split-complementary
#0D2146 #46160D #3E460D
monochromatic
#050C1A #050C1A #0D2146 #17397A #2052AD

Accessibility & contrast

On white

15.87
#0D2146 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#0D2146 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2146
15.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2146#FFFFFF#000000##FFFFFF
##0D21461.0015.871.3215.87
#FFFFFF15.871.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2547
Deuteranopia (green-blind)
#022045
Tritanopia (blue-blind)
#002A30
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0d2146;
/* rgb */ color: rgb(13, 33, 70);
/* oklch */ color: oklch(25.5% 0.074 261.4);
Tailwind
colors: {
  custom: {
    50: '#555b7a',
    500: '#0d2146',
    950: '#000000',
  },
}
SCSS
$custom: #0d2146;
$custom-light: #555b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2146",
  "rgb": {
    "r": 13,
    "g": 33,
    "b": 70
  },
  "hsl": {
    "h": 218.947,
    "s": 68.675,
    "l": 16.275
  },
  "oklch": {
    "l": 0.25516,
    "c": 0.07423,
    "h": 261.4
  },
  "luminance": 0.01615
}

Semantic roles & 50–950 ramp

primary
#0D2146
secondary
#81642D
accent
#AE3CEC
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030409
muted
#78797B

Preview Lab

Preview with #0D2146

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

Preview Lab → · Contrast checker → · Palette generator →

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