#0F0E5F#0F0E5F

#0F0E5F is a very dark, vivid blue. Relative luminance 0.012; OKLCH L 24.5% C 0.135 H 271.0°. Best body text is #FFFFFF at 16.82:1 contrast (WCAG AA passes).

Color values

HEX#0F0E5F
RGBrgb(15, 14, 95)
HSLhsl(241, 74%, 21%)
HSVhsv(241, 85%, 37%)
CMYKcmyk(84.2%, 85.3%, 0%, 62.7%)
CIE-LABlab(10.86, 31.29, -46.66)
CIE-LCHlch(10.86, 56.18, 303.85°)
OKLaboklab(24.51% 0.0024 -0.1351)
OKLCHoklch(24.51% 0.135 271)
XYZxyz(2.4189, 1.2416, 10.9364)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0E5F #5E5F0E
analogous
#0E365F #0F0E5F #380E5F
triadic
#0F0E5F #5F0F0E #0E5F0F
tetradic
#0F0E5F #5F0E36 #5E5F0E #0E5F38
square
#0F0E5F #5F0E36 #5E5F0E #0E5F38
split-complementary
#0F0E5F #5F380E #365F0E
monochromatic
#04041B #07062A #0F0E5F #171694 #201ECA

Accessibility & contrast

On white

16.82
#0F0E5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#0F0E5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0E5F
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0E5F#FFFFFF#000000##FFFFFF
##0F0E5F1.0016.821.2516.82
#FFFFFF16.821.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002161
Deuteranopia (green-blind)
#00195E
Tritanopia (blue-blind)
#002737
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #0f0e5f;
/* rgb */ color: rgb(15, 14, 95);
/* oklch */ color: oklch(24.5% 0.135 271.0);
Tailwind
colors: {
  custom: {
    50: '#5f4e8d',
    500: '#0f0e5f',
    950: '#000000',
  },
}
SCSS
$custom: #0f0e5f;
$custom-light: #5f4e8d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0e5f",
  "rgb": {
    "r": 15,
    "g": 14,
    "b": 95
  },
  "hsl": {
    "h": 240.741,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.24514,
    "c": 0.13509,
    "h": 271
  },
  "luminance": 0.01242
}

Semantic roles & 50–950 ramp

primary
#0F0E5F
secondary
#979930
accent
#F137EF
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #0F0E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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