#0D0F41#0D0F41

#0D0F41 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.9% C 0.092 H 273.3°. Best body text is #FFFFFF at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#0D0F41
RGBrgb(13, 15, 65)
HSLhsl(238, 67%, 15%)
HSVhsv(238, 80%, 25%)
CMYKcmyk(80%, 76.9%, 0%, 74.5%)
CIE-LABlab(7.30, 18.83, -31.86)
CIE-LCHlch(7.30, 37.01, 300.59°)
OKLaboklab(20.85% 0.0053 -0.0922)
OKLCHoklch(20.85% 0.092 273.3)
XYZxyz(1.2906, 0.8087, 5.0881)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0F41 #413F0D
analogous
#0D2941 #0D0F41 #250D41
triadic
#0D0F41 #410D0F #0F410D
tetradic
#0D0F41 #410D29 #413F0D #0D4125
square
#0D0F41 #410D29 #413F0D #0D4125
split-complementary
#0D0F41 #41250D #29410D
monochromatic
#05061A #05061A #0D0F41 #171B74 #2127A7

Accessibility & contrast

On white

18.08
#0D0F41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#0D0F41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D0F41
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0F41#FFFFFF#000000##FFFFFF
##0D0F411.0018.081.1618.08
#FFFFFF18.081.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001943
Deuteranopia (green-blind)
#001440
Tritanopia (blue-blind)
#001C26
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0d0f41;
/* rgb */ color: rgb(13, 15, 65);
/* oklch */ color: oklch(20.9% 0.092 273.3);
Tailwind
colors: {
  custom: {
    50: '#554d76',
    500: '#0d0f41',
    950: '#000000',
  },
}
SCSS
$custom: #0d0f41;
$custom-light: #554d76;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0f41",
  "rgb": {
    "r": 13,
    "g": 15,
    "b": 65
  },
  "hsl": {
    "h": 237.692,
    "s": 66.667,
    "l": 15.294
  },
  "oklch": {
    "l": 0.20854,
    "c": 0.09233,
    "h": 273.3
  },
  "luminance": 0.00809
}

Semantic roles & 50–950 ramp

primary
#0D0F41
secondary
#7D792D
accent
#E33EEA
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0D0F41

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

Preview Lab → · Contrast checker → · Palette generator →

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