#0F0E51#0F0E51

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

Color values

HEX#0F0E51
RGBrgb(15, 14, 81)
HSLhsl(241, 71%, 19%)
HSVhsv(241, 83%, 32%)
CMYKcmyk(81.5%, 82.7%, 0%, 68.2%)
CIE-LABlab(9.07, 26.16, -40.12)
CIE-LCHlch(9.07, 47.90, 303.10°)
OKLaboklab(22.73% 0.0057 -0.1161)
OKLCHoklch(22.73% 0.116 272.8)
XYZxyz(1.8387, 1.0095, 7.8809)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0E51 #50510E
analogous
#0E2E51 #0F0E51 #300E51
triadic
#0F0E51 #510F0E #0E510F
tetradic
#0F0E51 #510E2E #50510E #0E5130
square
#0F0E51 #510E2E #50510E #0E5130
split-complementary
#0F0E51 #51300E #2E510E
monochromatic
#05051A #05051D #0F0E51 #191785 #2220B9

Accessibility & contrast

On white

17.47
#0F0E51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0E51
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0E51#FFFFFF#000000##FFFFFF
##0F0E511.0017.471.2017.47
#FFFFFF17.471.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f0e51;
/* rgb */ color: rgb(15, 14, 81);
/* oklch */ color: oklch(22.7% 0.116 272.8);
Tailwind
colors: {
  custom: {
    50: '#5b4d83',
    500: '#0f0e51',
    950: '#000000',
  },
}
SCSS
$custom: #0f0e51;
$custom-light: #5b4d83;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0e51",
  "rgb": {
    "r": 15,
    "g": 14,
    "b": 81
  },
  "hsl": {
    "h": 240.896,
    "s": 70.526,
    "l": 18.627
  },
  "oklch": {
    "l": 0.22734,
    "c": 0.11626,
    "h": 272.8
  },
  "luminance": 0.0101
}

Semantic roles & 50–950 ramp

primary
#0F0E51
secondary
#8A8C2F
accent
#ED3AEB
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04010B
muted
#79777C

Preview Lab

Preview with #0F0E51

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

Preview Lab → · Contrast checker → · Palette generator →

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