#0F0D60#0F0D60

#0F0D60 is a very dark, vivid blue. Relative luminance 0.012; OKLCH L 24.5% C 0.137 H 271.0°. Best body text is #FFFFFF at 16.84:1 contrast (WCAG AA passes).

Color values

HEX#0F0D60
RGBrgb(15, 13, 96)
HSLhsl(241, 76%, 21%)
HSVhsv(241, 86%, 38%)
CMYKcmyk(84.4%, 86.5%, 0%, 62.4%)
CIE-LABlab(10.80, 32.20, -47.42)
CIE-LCHlch(10.80, 57.32, 304.17°)
OKLaboklab(24.51% 0.0025 -0.1373)
OKLCHoklch(24.51% 0.137 271)
XYZxyz(2.4515, 1.2337, 11.1730)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0D60 #5E600D
analogous
#0D3560 #0F0D60 #390D60
triadic
#0F0D60 #600F0D #0D600F
tetradic
#0F0D60 #600D35 #5E600D #0D6039
square
#0F0D60 #600D35 #5E600D #0D6039
split-complementary
#0F0D60 #60390D #35600D
monochromatic
#04041B #07062A #0F0D60 #171496 #201CCC

Accessibility & contrast

On white

16.84
#0F0D60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#0F0D60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0D60
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0D60#FFFFFF#000000##FFFFFF
##0F0D601.0016.841.2516.84
#FFFFFF16.841.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002162
Deuteranopia (green-blind)
#00195F
Tritanopia (blue-blind)
#002737
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #0f0d60;
/* rgb */ color: rgb(15, 13, 96);
/* oklch */ color: oklch(24.5% 0.137 271.0);
Tailwind
colors: {
  custom: {
    50: '#5f4e8e',
    500: '#0f0d60',
    950: '#000000',
  },
}
SCSS
$custom: #0f0d60;
$custom-light: #5f4e8e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0d60",
  "rgb": {
    "r": 15,
    "g": 13,
    "b": 96
  },
  "hsl": {
    "h": 241.446,
    "s": 76.147,
    "l": 21.373
  },
  "oklch": {
    "l": 0.24512,
    "c": 0.13729,
    "h": 271
  },
  "luminance": 0.01234
}

Semantic roles & 50–950 ramp

primary
#0F0D60
secondary
#979A2F
accent
#F335EE
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #0F0D60

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

Preview Lab → · Contrast checker → · Palette generator →

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