#0D0F4D#0D0F4D

#0D0F4D is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.3% C 0.110 H 271.7°. Best body text is #FFFFFF at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#0D0F4D
RGBrgb(13, 15, 77)
HSLhsl(238, 71%, 18%)
HSVhsv(238, 83%, 30%)
CMYKcmyk(83.1%, 80.5%, 0%, 69.8%)
CIE-LABlab(8.68, 23.77, -38.02)
CIE-LCHlch(8.68, 44.83, 302.01°)
OKLaboklab(22.27% 0.0034 -0.11)
OKLCHoklch(22.27% 0.11 271.7)
XYZxyz(1.6759, 0.9629, 7.1173)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0F4D #4D4B0D
analogous
#0D2F4D #0D0F4D #2B0D4D
triadic
#0D0F4D #4D0D0F #0F4D0D
tetradic
#0D0F4D #4D0D2F #4D4B0D #0D4D2B
square
#0D0F4D #4D0D2F #4D4B0D #0D4D2B
split-complementary
#0D0F4D #4D2B0D #2F4D0D
monochromatic
#04051A #04051A #0D0F4D #161981 #1F23B6

Accessibility & contrast

On white

17.61
#0D0F4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D0F4D
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0F4D#FFFFFF#000000##FFFFFF
##0D0F4D1.0017.611.1917.61
#FFFFFF17.611.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4F
Deuteranopia (green-blind)
#00164C
Tritanopia (blue-blind)
#00212D
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0d0f4d;
/* rgb */ color: rgb(13, 15, 77);
/* oklch */ color: oklch(22.3% 0.110 271.7);
Tailwind
colors: {
  custom: {
    50: '#594e80',
    500: '#0d0f4d',
    950: '#000000',
  },
}
SCSS
$custom: #0d0f4d;
$custom-light: #594e80;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0f4d",
  "rgb": {
    "r": 13,
    "g": 15,
    "b": 77
  },
  "hsl": {
    "h": 238.125,
    "s": 71.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.22274,
    "c": 0.1101,
    "h": 271.7
  },
  "luminance": 0.00963
}

Semantic roles & 50–950 ramp

primary
#0D0F4D
secondary
#88852E
accent
#E83AEE
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #0D0F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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