#0D1F47#0D1F47

#0D1F47 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.1% C 0.079 H 263.5°. Best body text is #FFFFFF at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#0D1F47
RGBrgb(13, 31, 71)
HSLhsl(221, 69%, 16%)
HSVhsv(221, 82%, 28%)
CMYKcmyk(81.7%, 56.3%, 0%, 72.2%)
CIE-LABlab(12.74, 9.23, -27.23)
CIE-LCHlch(12.74, 28.75, 288.74°)
OKLaboklab(25.09% -0.0089 -0.0783)
OKLCHoklch(25.09% 0.079 263.5)
XYZxyz(1.7929, 1.5203, 6.1590)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1F47 #47350D
analogous
#0D3C47 #0D1F47 #180D47
triadic
#0D1F47 #470D1F #1F470D
tetradic
#0D1F47 #470D3C #47350D #0D4718
square
#0D1F47 #470D3C #47350D #0D4718
split-complementary
#0D1F47 #47180D #3C470D
monochromatic
#050B1A #050B1A #0D1F47 #16367B #204CAE

Accessibility & contrast

On white

16.10
#0D1F47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D1F47
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1F47#FFFFFF#000000##FFFFFF
##0D1F471.0016.101.3016.10
#FFFFFF16.101.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072448
Deuteranopia (green-blind)
#001E46
Tritanopia (blue-blind)
#00292F
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0d1f47;
/* rgb */ color: rgb(13, 31, 71);
/* oklch */ color: oklch(25.1% 0.079 263.5);
Tailwind
colors: {
  custom: {
    50: '#555a7a',
    500: '#0d1f47',
    950: '#000000',
  },
}
SCSS
$custom: #0d1f47;
$custom-light: #555a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1f47",
  "rgb": {
    "r": 13,
    "g": 31,
    "b": 71
  },
  "hsl": {
    "h": 221.379,
    "s": 69.048,
    "l": 16.471
  },
  "oklch": {
    "l": 0.25093,
    "c": 0.07876,
    "h": 263.5
  },
  "luminance": 0.0152
}

Semantic roles & 50–950 ramp

primary
#0D1F47
secondary
#82682D
accent
#B53CEC
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030309
muted
#78787B

Preview Lab

Preview with #0D1F47

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

Preview Lab → · Contrast checker → · Palette generator →

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