#0D1247#0D1247

#0D1247 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.1% C 0.097 H 271.4°. Best body text is #FFFFFF at 17.58:1 contrast (WCAG AA passes).

Color values

HEX#0D1247
RGBrgb(13, 18, 71)
HSLhsl(235, 69%, 16%)
HSVhsv(235, 82%, 28%)
CMYKcmyk(81.7%, 74.6%, 0%, 72.2%)
CIE-LABlab(8.76, 19.21, -33.70)
CIE-LCHlch(8.76, 38.78, 299.68°)
OKLaboklab(22.13% 0.0024 -0.0974)
OKLCHoklch(22.13% 0.097 271.4)
XYZxyz(1.5192, 0.9730, 6.0677)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1247 #47420D
analogous
#0D2F47 #0D1247 #250D47
triadic
#0D1247 #470D12 #12470D
tetradic
#0D1247 #470D2F #47420D #0D4725
square
#0D1247 #470D2F #47420D #0D4725
split-complementary
#0D1247 #47250D #2F470D
monochromatic
#05071A #05071A #0D1247 #161F7B #202CAE

Accessibility & contrast

On white

17.58
#0D1247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#0D1247 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1247
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1247#FFFFFF#000000##FFFFFF
##0D12471.0017.581.1917.58
#FFFFFF17.581.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C49
Deuteranopia (green-blind)
#001646
Tritanopia (blue-blind)
#00202A
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0d1247;
/* rgb */ color: rgb(13, 18, 71);
/* oklch */ color: oklch(22.1% 0.097 271.4);
Tailwind
colors: {
  custom: {
    50: '#564f7b',
    500: '#0d1247',
    950: '#000000',
  },
}
SCSS
$custom: #0d1247;
$custom-light: #564f7b;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1247",
  "rgb": {
    "r": 13,
    "g": 18,
    "b": 71
  },
  "hsl": {
    "h": 234.828,
    "s": 69.048,
    "l": 16.471
  },
  "oklch": {
    "l": 0.22129,
    "c": 0.09747,
    "h": 271.4
  },
  "luminance": 0.00973
}

Semantic roles & 50–950 ramp

primary
#0D1247
secondary
#827B2D
accent
#DD3CEC
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#030209
muted
#78787B

Preview Lab

Preview with #0D1247

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

Preview Lab → · Contrast checker → · Palette generator →

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