#0F0E52#0F0E52

#0F0E52 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.9% C 0.118 H 272.7°. Best body text is #FFFFFF at 17.43:1 contrast (WCAG AA passes).

Color values

HEX#0F0E52
RGBrgb(15, 14, 82)
HSLhsl(241, 71%, 19%)
HSVhsv(241, 83%, 32%)
CMYKcmyk(81.7%, 82.9%, 0%, 67.8%)
CIE-LABlab(9.19, 26.54, -40.61)
CIE-LCHlch(9.19, 48.51, 303.17°)
OKLaboklab(22.86% 0.0055 -0.1175)
OKLCHoklch(22.86% 0.118 272.7)
XYZxyz(1.8765, 1.0246, 8.0799)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0E52 #51520E
analogous
#0E2F52 #0F0E52 #310E52
triadic
#0F0E52 #520F0E #0E520F
tetradic
#0F0E52 #520E2F #51520E #0E5231
square
#0F0E52 #520E2F #51520E #0E5231
split-complementary
#0F0E52 #52310E #2F520E
monochromatic
#05041A #05051E #0F0E52 #191786 #2220BB

Accessibility & contrast

On white

17.43
#0F0E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0E52
17.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0E52#FFFFFF#000000##FFFFFF
##0F0E521.0017.431.2117.43
#FFFFFF17.431.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f0e52;
/* rgb */ color: rgb(15, 14, 82);
/* oklch */ color: oklch(22.9% 0.118 272.7);
Tailwind
colors: {
  custom: {
    50: '#5b4d83',
    500: '#0f0e52',
    950: '#000000',
  },
}
SCSS
$custom: #0f0e52;
$custom-light: #5b4d83;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0e52",
  "rgb": {
    "r": 15,
    "g": 14,
    "b": 82
  },
  "hsl": {
    "h": 240.882,
    "s": 70.833,
    "l": 18.824
  },
  "oklch": {
    "l": 0.22859,
    "c": 0.11764,
    "h": 272.7
  },
  "luminance": 0.01025
}

Semantic roles & 50–950 ramp

primary
#0F0E52
secondary
#8B8C2F
accent
#EE3AEB
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04010B
muted
#79777C

Preview Lab

Preview with #0F0E52

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

Preview Lab → · Contrast checker → · Palette generator →

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