#0D1C50#0D1C50

#0D1C50 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.2% C 0.097 H 266.8°. Best body text is #FFFFFF at 16.17:1 contrast (WCAG AA passes).

Color values

HEX#0D1C50
RGBrgb(13, 28, 80)
HSLhsl(227, 72%, 18%)
HSVhsv(227, 84%, 31%)
CMYKcmyk(83.7%, 65%, 0%, 68.6%)
CIE-LABlab(12.58, 15.52, -33.69)
CIE-LCHlch(12.58, 37.09, 294.74°)
OKLaboklab(25.22% -0.0055 -0.0973)
OKLCHoklch(25.22% 0.097 266.8)
XYZxyz(2.0287, 1.4950, 7.7695)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1C50 #50410D
analogous
#0D3D50 #0D1C50 #1F0D50
triadic
#0D1C50 #500D1C #1C500D
tetradic
#0D1C50 #500D3D #50410D #0D501F
square
#0D1C50 #500D3D #50410D #0D501F
split-complementary
#0D1C50 #501F0D #3D500D
monochromatic
#04091A #040A1B #0D1C50 #162E85 #1E41B9

Accessibility & contrast

On white

16.17
#0D1C50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#0D1C50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1C50
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1C50#FFFFFF#000000##FFFFFF
##0D1C501.0016.171.3016.17
#FFFFFF16.171.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002452
Deuteranopia (green-blind)
#001E4F
Tritanopia (blue-blind)
#002932
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0d1c50;
/* rgb */ color: rgb(13, 28, 80);
/* oklch */ color: oklch(25.2% 0.097 266.8);
Tailwind
colors: {
  custom: {
    50: '#585782',
    500: '#0d1c50',
    950: '#000000',
  },
}
SCSS
$custom: #0d1c50;
$custom-light: #585782;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1c50",
  "rgb": {
    "r": 13,
    "g": 28,
    "b": 80
  },
  "hsl": {
    "h": 226.567,
    "s": 72.043,
    "l": 18.235
  },
  "oklch": {
    "l": 0.2522,
    "c": 0.09745,
    "h": 266.8
  },
  "luminance": 0.01495
}

Semantic roles & 50–950 ramp

primary
#0D1C50
secondary
#8B762E
accent
#C639EF
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030A
muted
#79787C

Preview Lab

Preview with #0D1C50

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

Preview Lab → · Contrast checker → · Palette generator →

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