#0D0F4C#0D0F4C

#0D0F4C is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 22.2% C 0.109 H 271.9°. Best body text is #FFFFFF at 17.65:1 contrast (WCAG AA passes).

Color values

HEX#0D0F4C
RGBrgb(13, 15, 76)
HSLhsl(238, 71%, 17%)
HSVhsv(238, 83%, 30%)
CMYKcmyk(82.9%, 80.3%, 0%, 70.2%)
CIE-LABlab(8.56, 23.38, -37.52)
CIE-LCHlch(8.56, 44.21, 301.92°)
OKLaboklab(22.15% 0.0035 -0.1086)
OKLCHoklch(22.15% 0.109 271.9)
XYZxyz(1.6409, 0.9488, 6.9327)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0F4C #4C4A0D
analogous
#0D2F4C #0D0F4C #2A0D4C
triadic
#0D0F4C #4C0D0F #0F4C0D
tetradic
#0D0F4C #4C0D2F #4C4A0D #0D4C2A
square
#0D0F4C #4C0D2F #4C4A0D #0D4C2A
split-complementary
#0D0F4C #4C2A0D #2F4C0D
monochromatic
#04051A #04051A #0D0F4C #161980 #1F24B5

Accessibility & contrast

On white

17.65
#0D0F4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D0F4C
17.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0F4C#FFFFFF#000000##FFFFFF
##0D0F4C1.0017.651.1917.65
#FFFFFF17.651.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4E
Deuteranopia (green-blind)
#00164B
Tritanopia (blue-blind)
#00202C
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0d0f4c;
/* rgb */ color: rgb(13, 15, 76);
/* oklch */ color: oklch(22.2% 0.109 271.9);
Tailwind
colors: {
  custom: {
    50: '#584e7f',
    500: '#0d0f4c',
    950: '#000000',
  },
}
SCSS
$custom: #0d0f4c;
$custom-light: #584e7f;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0f4c",
  "rgb": {
    "r": 13,
    "g": 15,
    "b": 76
  },
  "hsl": {
    "h": 238.095,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.22153,
    "c": 0.10866,
    "h": 271.9
  },
  "luminance": 0.00949
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #0D0F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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