#0F0E4E#0F0E4E

#0F0E4E is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.4% C 0.112 H 273.3°. Best body text is #FFFFFF at 17.60:1 contrast (WCAG AA passes).

Color values

HEX#0F0E4E
RGBrgb(15, 14, 78)
HSLhsl(241, 70%, 18%)
HSVhsv(241, 82%, 31%)
CMYKcmyk(80.8%, 82.1%, 0%, 69.4%)
CIE-LABlab(8.70, 25.02, -38.67)
CIE-LCHlch(8.70, 46.06, 302.91°)
OKLaboklab(22.36% 0.0064 -0.1119)
OKLCHoklch(22.36% 0.112 273.3)
XYZxyz(1.7287, 0.9655, 7.3015)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0E4E #4D4E0E
analogous
#0E2D4E #0F0E4E #2F0E4E
triadic
#0F0E4E #4E0F0E #0E4E0F
tetradic
#0F0E4E #4E0E2D #4D4E0E #0E4E2F
square
#0F0E4E #4E0E2D #4D4E0E #0E4E2F
split-complementary
#0F0E4E #4E2F0E #2D4E0E
monochromatic
#05051A #05051A #0F0E4E #191782 #2321B6

Accessibility & contrast

On white

17.60
#0F0E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#0F0E4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0E4E
17.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0E4E#FFFFFF#000000##FFFFFF
##0F0E4E1.0017.601.1917.60
#FFFFFF17.601.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C50
Deuteranopia (green-blind)
#00164D
Tritanopia (blue-blind)
#00212D
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0f0e4e;
/* rgb */ color: rgb(15, 14, 78);
/* oklch */ color: oklch(22.4% 0.112 273.3);
Tailwind
colors: {
  custom: {
    50: '#5a4d80',
    500: '#0f0e4e',
    950: '#000000',
  },
}
SCSS
$custom: #0f0e4e;
$custom-light: #5a4d80;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0e4e",
  "rgb": {
    "r": 15,
    "g": 14,
    "b": 78
  },
  "hsl": {
    "h": 240.938,
    "s": 69.565,
    "l": 18.039
  },
  "oklch": {
    "l": 0.22363,
    "c": 0.11206,
    "h": 273.3
  },
  "luminance": 0.00966
}

Semantic roles & 50–950 ramp

primary
#0F0E4E
secondary
#87892F
accent
#EC3BEA
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #0F0E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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