#0D0F50#0D0F50

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

Color values

HEX#0D0F50
RGBrgb(13, 15, 80)
HSLhsl(238, 72%, 18%)
HSVhsv(238, 84%, 31%)
CMYKcmyk(83.7%, 81.3%, 0%, 68.6%)
CIE-LABlab(9.04, 24.94, -39.49)
CIE-LCHlch(9.04, 46.70, 302.28°)
OKLaboklab(22.64% 0.0028 -0.1143)
OKLCHoklch(22.64% 0.114 271.4)
XYZxyz(1.7843, 1.0062, 7.6880)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0F50 #504E0D
analogous
#0D3050 #0D0F50 #2C0D50
triadic
#0D0F50 #500D0F #0F500D
tetradic
#0D0F50 #500D30 #504E0D #0D502C
square
#0D0F50 #500D30 #504E0D #0D502C
split-complementary
#0D0F50 #502C0D #30500D
monochromatic
#04051A #04051B #0D0F50 #161985 #1E23B9

Accessibility & contrast

On white

17.48
#0D0F50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#0D0F50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D0F50
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0F50#FFFFFF#000000##FFFFFF
##0D0F501.0017.481.2017.48
#FFFFFF17.481.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D52
Deuteranopia (green-blind)
#00164F
Tritanopia (blue-blind)
#00222E
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0d0f50;
/* rgb */ color: rgb(13, 15, 80);
/* oklch */ color: oklch(22.6% 0.114 271.4);
Tailwind
colors: {
  custom: {
    50: '#5a4e82',
    500: '#0d0f50',
    950: '#000000',
  },
}
SCSS
$custom: #0d0f50;
$custom-light: #5a4e82;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0f50",
  "rgb": {
    "r": 13,
    "g": 15,
    "b": 80
  },
  "hsl": {
    "h": 238.209,
    "s": 72.043,
    "l": 18.235
  },
  "oklch": {
    "l": 0.22643,
    "c": 0.11435,
    "h": 271.4
  },
  "luminance": 0.01006
}

Semantic roles & 50–950 ramp

primary
#0D0F50
secondary
#8B882E
accent
#E939EF
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04010A
muted
#79777C

Preview Lab

Preview with #0D0F50

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

Preview Lab → · Contrast checker → · Palette generator →

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