#0D1D50#0D1D50

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

Color values

HEX#0D1D50
RGBrgb(13, 29, 80)
HSLhsl(226, 72%, 18%)
HSVhsv(226, 84%, 31%)
CMYKcmyk(83.7%, 63.7%, 0%, 68.6%)
CIE-LABlab(12.88, 14.76, -33.19)
CIE-LCHlch(12.88, 36.32, 293.97°)
OKLaboklab(25.45% -0.0063 -0.0958)
OKLCHoklch(25.45% 0.096 266.3)
XYZxyz(2.0528, 1.5433, 7.7775)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1D50 #50400D
analogous
#0D3E50 #0D1D50 #1E0D50
triadic
#0D1D50 #500D1D #1D500D
tetradic
#0D1D50 #500D3E #50400D #0D501E
square
#0D1D50 #500D3E #50400D #0D501E
split-complementary
#0D1D50 #501E0D #3E500D
monochromatic
#040A1A #040A1B #0D1D50 #163085 #1E43B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0D1D50#FFFFFF#000000##FFFFFF
##0D1D501.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)
#002552
Deuteranopia (green-blind)
#001E4F
Tritanopia (blue-blind)
#002A33
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0d1d50;
/* rgb */ color: rgb(13, 29, 80);
/* oklch */ color: oklch(25.4% 0.096 266.3);
Tailwind
colors: {
  custom: {
    50: '#585882',
    500: '#0d1d50',
    950: '#000000',
  },
}
SCSS
$custom: #0d1d50;
$custom-light: #585882;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1d50",
  "rgb": {
    "r": 13,
    "g": 29,
    "b": 80
  },
  "hsl": {
    "h": 225.672,
    "s": 72.043,
    "l": 18.235
  },
  "oklch": {
    "l": 0.25447,
    "c": 0.09603,
    "h": 266.3
  },
  "luminance": 0.01543
}

Semantic roles & 50–950 ramp

primary
#0D1D50
secondary
#8B752E
accent
#C339EF
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030A
muted
#79787C

Preview Lab

Preview with #0D1D50

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

Preview Lab → · Contrast checker → · Palette generator →

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