#0D1C41#0D1C41

#0D1C41 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 23.8% C 0.073 H 264.8°. Best body text is #FFFFFF at 16.67:1 contrast (WCAG AA passes).

Color values

HEX#0D1C41
RGBrgb(13, 28, 65)
HSLhsl(223, 67%, 15%)
HSVhsv(223, 80%, 25%)
CMYKcmyk(80%, 56.9%, 0%, 74.5%)
CIE-LABlab(11.26, 8.89, -25.42)
CIE-LCHlch(11.26, 26.93, 289.27°)
OKLaboklab(23.81% -0.0067 -0.073)
OKLCHoklch(23.81% 0.073 264.8)
XYZxyz(1.5350, 1.2976, 5.1696)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1C41 #41320D
analogous
#0D3641 #0D1C41 #180D41
triadic
#0D1C41 #410D1C #1C410D
tetradic
#0D1C41 #410D36 #41320D #0D4118
square
#0D1C41 #410D36 #41320D #0D4118
split-complementary
#0D1C41 #41180D #36410D
monochromatic
#050B1A #050B1A #0D1C41 #173274 #2148A7

Accessibility & contrast

On white

16.67
#0D1C41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#0D1C41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1C41
16.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1C41#FFFFFF#000000##FFFFFF
##0D1C411.0016.671.2616.67
#FFFFFF16.671.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072142
Deuteranopia (green-blind)
#001C40
Tritanopia (blue-blind)
#00252B
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #0d1c41;
/* rgb */ color: rgb(13, 28, 65);
/* oklch */ color: oklch(23.8% 0.073 264.8);
Tailwind
colors: {
  custom: {
    50: '#545776',
    500: '#0d1c41',
    950: '#000000',
  },
}
SCSS
$custom: #0d1c41;
$custom-light: #545776;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1c41",
  "rgb": {
    "r": 13,
    "g": 28,
    "b": 65
  },
  "hsl": {
    "h": 222.692,
    "s": 66.667,
    "l": 15.294
  },
  "oklch": {
    "l": 0.23812,
    "c": 0.07331,
    "h": 264.8
  },
  "luminance": 0.01298
}

Semantic roles & 50–950 ramp

primary
#0D1C41
secondary
#7D662D
accent
#B83EEA
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #0D1C41

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

Preview Lab → · Contrast checker → · Palette generator →

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