#0F0D52#0F0D52

#0F0D52 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.7% C 0.119 H 272.9°. Best body text is #FFFFFF at 17.50:1 contrast (WCAG AA passes).

Color values

HEX#0F0D52
RGBrgb(15, 13, 82)
HSLhsl(242, 73%, 19%)
HSVhsv(242, 84%, 32%)
CMYKcmyk(81.7%, 84.1%, 0%, 67.8%)
CIE-LABlab(8.98, 27.16, -40.96)
CIE-LCHlch(8.98, 49.15, 303.54°)
OKLaboklab(22.71% 0.0059 -0.1185)
OKLCHoklch(22.71% 0.119 272.9)
XYZxyz(1.8634, 0.9984, 8.0755)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0D52 #50520D
analogous
#0D2D52 #0F0D52 #310D52
triadic
#0F0D52 #520F0D #0D520F
tetradic
#0F0D52 #520D2D #50520D #0D5231
square
#0F0D52 #520D2D #50520D #0D5231
split-complementary
#0F0D52 #52310D #2D520D
monochromatic
#05041A #05051D #0F0D52 #191587 #221EBC

Accessibility & contrast

On white

17.50
#0F0D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#0F0D52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0D52
17.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0D52#FFFFFF#000000##FFFFFF
##0F0D521.0017.501.2017.50
#FFFFFF17.501.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D54
Deuteranopia (green-blind)
#001651
Tritanopia (blue-blind)
#00222F
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0f0d52;
/* rgb */ color: rgb(15, 13, 82);
/* oklch */ color: oklch(22.7% 0.119 272.9);
Tailwind
colors: {
  custom: {
    50: '#5b4d84',
    500: '#0f0d52',
    950: '#000000',
  },
}
SCSS
$custom: #0f0d52;
$custom-light: #5b4d84;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0d52",
  "rgb": {
    "r": 15,
    "g": 13,
    "b": 82
  },
  "hsl": {
    "h": 241.739,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.22706,
    "c": 0.11869,
    "h": 272.9
  },
  "luminance": 0.00999
}

Semantic roles & 50–950 ramp

primary
#0F0D52
secondary
#8A8D2E
accent
#EF38EA
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05010B
muted
#79777C

Preview Lab

Preview with #0F0D52

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

Preview Lab → · Contrast checker → · Palette generator →

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