#0D1D55#0D1D55

#0D1D55 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.9% C 0.104 H 266.6°. Best body text is #FFFFFF at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#0D1D55
RGBrgb(13, 29, 85)
HSLhsl(227, 73%, 19%)
HSVhsv(227, 85%, 33%)
CMYKcmyk(84.7%, 65.9%, 0%, 66.7%)
CIE-LABlab(13.35, 16.94, -35.82)
CIE-LCHlch(13.35, 39.63, 295.30°)
OKLaboklab(25.95% -0.0061 -0.1036)
OKLCHoklch(25.95% 0.104 266.6)
XYZxyz(2.2445, 1.6199, 8.7870)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1D55 #55450D
analogous
#0D4155 #0D1D55 #210D55
triadic
#0D1D55 #550D1D #1D550D
tetradic
#0D1D55 #550D41 #55450D #0D5521
square
#0D1D55 #550D41 #55450D #0D5521
split-complementary
#0D1D55 #55210D #41550D
monochromatic
#04091B #050B20 #0D1D55 #152F8A #1D41BF

Accessibility & contrast

On white

15.86
#0D1D55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D1D55
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1D55#FFFFFF#000000##FFFFFF
##0D1D551.0015.861.3215.86
#FFFFFF15.861.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002657
Deuteranopia (green-blind)
#001F54
Tritanopia (blue-blind)
#002B35
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0d1d55;
/* rgb */ color: rgb(13, 29, 85);
/* oklch */ color: oklch(25.9% 0.104 266.6);
Tailwind
colors: {
  custom: {
    50: '#5a5885',
    500: '#0d1d55',
    950: '#000000',
  },
}
SCSS
$custom: #0d1d55;
$custom-light: #5a5885;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1d55",
  "rgb": {
    "r": 13,
    "g": 29,
    "b": 85
  },
  "hsl": {
    "h": 226.667,
    "s": 73.469,
    "l": 19.216
  },
  "oklch": {
    "l": 0.25945,
    "c": 0.10374,
    "h": 266.6
  },
  "luminance": 0.0162
}

Semantic roles & 50–950 ramp

primary
#0D1D55
secondary
#907A2E
accent
#C738F0
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #0D1D55

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

Preview Lab → · Contrast checker → · Palette generator →

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