#0F0E4F#0F0E4F

#0F0E4F is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.5% C 0.113 H 273.1°. Best body text is #FFFFFF at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#0F0E4F
RGBrgb(15, 14, 79)
HSLhsl(241, 70%, 18%)
HSVhsv(241, 82%, 31%)
CMYKcmyk(81%, 82.3%, 0%, 69%)
CIE-LABlab(8.82, 25.40, -39.15)
CIE-LCHlch(8.82, 46.67, 302.98°)
OKLaboklab(22.49% 0.0062 -0.1133)
OKLCHoklch(22.49% 0.113 273.1)
XYZxyz(1.7649, 0.9800, 7.4918)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0E4F #4E4F0E
analogous
#0E2D4F #0F0E4F #2F0E4F
triadic
#0F0E4F #4F0F0E #0E4F0F
tetradic
#0F0E4F #4F0E2D #4E4F0E #0E4F2F
square
#0F0E4F #4F0E2D #4E4F0E #0E4F2F
split-complementary
#0F0E4F #4F2F0E #2D4F0E
monochromatic
#05051A #05051B #0F0E4F #191783 #2320B7

Accessibility & contrast

On white

17.56
#0F0E4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0E4F
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0E4F#FFFFFF#000000##FFFFFF
##0F0E4F1.0017.561.2017.56
#FFFFFF17.561.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f0e4f;
/* rgb */ color: rgb(15, 14, 79);
/* oklch */ color: oklch(22.5% 0.113 273.1);
Tailwind
colors: {
  custom: {
    50: '#5a4d81',
    500: '#0f0e4f',
    950: '#000000',
  },
}
SCSS
$custom: #0f0e4f;
$custom-light: #5a4d81;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0e4f",
  "rgb": {
    "r": 15,
    "g": 14,
    "b": 79
  },
  "hsl": {
    "h": 240.923,
    "s": 69.892,
    "l": 18.235
  },
  "oklch": {
    "l": 0.22486,
    "c": 0.11347,
    "h": 273.1
  },
  "luminance": 0.0098
}

Semantic roles & 50–950 ramp

primary
#0F0E4F
secondary
#888A2F
accent
#ED3BEA
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04010A
muted
#79777C

Preview Lab

Preview with #0F0E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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