#0D2140#0D2140

#0D2140 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.0% C 0.064 H 258.9°. Best body text is #FFFFFF at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#0D2140
RGBrgb(13, 33, 64)
HSLhsl(216, 66%, 15%)
HSVhsv(216, 80%, 25%)
CMYKcmyk(79.7%, 48.4%, 0%, 74.9%)
CIE-LABlab(12.88, 4.58, -22.12)
CIE-LCHlch(12.88, 22.59, 281.71°)
OKLaboklab(25.03% -0.0124 -0.0632)
OKLCHoklch(25.03% 0.064 258.9)
XYZxyz(1.6349, 1.5433, 5.0612)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2140 #402C0D
analogous
#0D3A40 #0D2140 #130D40
triadic
#0D2140 #400D21 #21400D
tetradic
#0D2140 #400D3A #402C0D #0D4013
square
#0D2140 #400D3A #402C0D #0D4013
split-complementary
#0D2140 #40130D #3A400D
monochromatic
#050D19 #050D19 #0D2140 #173B73 #2255A6

Accessibility & contrast

On white

16.05
#0D2140 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#0D2140 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2140
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2140#FFFFFF#000000##FFFFFF
##0D21401.0016.051.3116.05
#FFFFFF16.051.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122441
Deuteranopia (green-blind)
#091F3F
Tritanopia (blue-blind)
#00282D
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0d2140;
/* rgb */ color: rgb(13, 33, 64);
/* oklch */ color: oklch(25.0% 0.064 258.9);
Tailwind
colors: {
  custom: {
    50: '#535b75',
    500: '#0d2140',
    950: '#000000',
  },
}
SCSS
$custom: #0d2140;
$custom-light: #535b75;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2140",
  "rgb": {
    "r": 13,
    "g": 33,
    "b": 64
  },
  "hsl": {
    "h": 216.471,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.25033,
    "c": 0.06439,
    "h": 258.9
  },
  "luminance": 0.01543
}

Semantic roles & 50–950 ramp

primary
#0D2140
secondary
#7C5D2D
accent
#A63FE9
background
#F5F5F7
surface
#E8E9ED
border
#C4C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #0D2140

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

Preview Lab → · Contrast checker → · Palette generator →

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