#0F0D5D#0F0D5D

#0F0D5D is a very dark, vivid blue. Relative luminance 0.012; OKLCH L 24.1% C 0.133 H 271.4°. Best body text is #FFFFFF at 16.99:1 contrast (WCAG AA passes).

Color values

HEX#0F0D5D
RGBrgb(15, 13, 93)
HSLhsl(242, 75%, 21%)
HSVhsv(242, 86%, 36%)
CMYKcmyk(83.9%, 86%, 0%, 63.5%)
CIE-LABlab(10.41, 31.14, -46.07)
CIE-LCHlch(10.41, 55.61, 304.06°)
OKLaboklab(24.12% 0.0032 -0.1333)
OKLCHoklch(24.12% 0.133 271.4)
XYZxyz(2.3160, 1.1795, 10.4594)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0D5D #5B5D0D
analogous
#0D335D #0F0D5D #370D5D
triadic
#0F0D5D #5D0F0D #0D5D0F
tetradic
#0F0D5D #5D0D33 #5B5D0D #0D5D37
square
#0F0D5D #5D0D33 #5B5D0D #0D5D37
split-complementary
#0F0D5D #5D370D #335D0D
monochromatic
#04041B #060527 #0F0D5D #181593 #201CC8

Accessibility & contrast

On white

16.99
#0F0D5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#0F0D5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0D5D
16.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0D5D#FFFFFF#000000##FFFFFF
##0F0D5D1.0016.991.2416.99
#FFFFFF16.991.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00205F
Deuteranopia (green-blind)
#00185C
Tritanopia (blue-blind)
#002635
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0f0d5d;
/* rgb */ color: rgb(15, 13, 93);
/* oklch */ color: oklch(24.1% 0.133 271.4);
Tailwind
colors: {
  custom: {
    50: '#5e4e8c',
    500: '#0f0d5d',
    950: '#000000',
  },
}
SCSS
$custom: #0f0d5d;
$custom-light: #5e4e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0d5d",
  "rgb": {
    "r": 15,
    "g": 13,
    "b": 93
  },
  "hsl": {
    "h": 241.5,
    "s": 75.472,
    "l": 20.784
  },
  "oklch": {
    "l": 0.2412,
    "c": 0.13339,
    "h": 271.4
  },
  "luminance": 0.0118
}

Semantic roles & 50–950 ramp

primary
#0F0D5D
secondary
#95972F
accent
#F236ED
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05010C
muted
#79777D

Preview Lab

Preview with #0F0D5D

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

Preview Lab → · Contrast checker → · Palette generator →

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