#0F0D56#0F0D56

#0F0D56 is a very dark, vivid blue. Relative luminance 0.011; OKLCH L 23.2% C 0.124 H 272.3°. Best body text is #FFFFFF at 17.32:1 contrast (WCAG AA passes).

Color values

HEX#0F0D56
RGBrgb(15, 13, 86)
HSLhsl(242, 74%, 19%)
HSVhsv(242, 85%, 34%)
CMYKcmyk(82.6%, 84.9%, 0%, 66.3%)
CIE-LABlab(9.49, 28.63, -42.85)
CIE-LCHlch(9.49, 51.53, 303.75°)
OKLaboklab(23.22% 0.005 -0.124)
OKLCHoklch(23.22% 0.124 272.3)
XYZxyz(2.0201, 1.0611, 8.9006)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0D56 #54560D
analogous
#0D3056 #0F0D56 #340D56
triadic
#0F0D56 #560F0D #0D560F
tetradic
#0F0D56 #560D30 #54560D #0D5634
square
#0F0D56 #560D30 #54560D #0D5634
split-complementary
#0F0D56 #56340D #30560D
monochromatic
#05041B #060521 #0F0D56 #18158B #221DC0

Accessibility & contrast

On white

17.32
#0F0D56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#0F0D56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0D56
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0D56#FFFFFF#000000##FFFFFF
##0F0D561.0017.321.2117.32
#FFFFFF17.321.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E58
Deuteranopia (green-blind)
#001755
Tritanopia (blue-blind)
#002331
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0f0d56;
/* rgb */ color: rgb(15, 13, 86);
/* oklch */ color: oklch(23.2% 0.124 272.3);
Tailwind
colors: {
  custom: {
    50: '#5c4d87',
    500: '#0f0d56',
    950: '#000000',
  },
}
SCSS
$custom: #0f0d56;
$custom-light: #5c4d87;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0d56",
  "rgb": {
    "r": 15,
    "g": 13,
    "b": 86
  },
  "hsl": {
    "h": 241.644,
    "s": 73.737,
    "l": 19.412
  },
  "oklch": {
    "l": 0.23215,
    "c": 0.12412,
    "h": 272.3
  },
  "luminance": 0.01061
}

Semantic roles & 50–950 ramp

primary
#0F0D56
secondary
#8E912E
accent
#F037EB
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05010B
muted
#79777C

Preview Lab

Preview with #0F0D56

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

Preview Lab → · Contrast checker → · Palette generator →

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