#0F0E42#0F0E42

#0F0E42 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.9% C 0.095 H 275.3°. Best body text is #FFFFFF at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#0F0E42
RGBrgb(15, 14, 66)
HSLhsl(241, 65%, 16%)
HSVhsv(241, 79%, 26%)
CMYKcmyk(77.3%, 78.8%, 0%, 74.1%)
CIE-LABlab(7.31, 20.24, -32.56)
CIE-LCHlch(7.31, 38.34, 301.87°)
OKLaboklab(20.93% 0.0088 -0.0942)
OKLCHoklch(20.93% 0.095 275.3)
XYZxyz(1.3371, 0.8089, 5.2389)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0E42 #41420E
analogous
#0E2742 #0F0E42 #290E42
triadic
#0F0E42 #420F0E #0E420F
tetradic
#0F0E42 #420E27 #41420E #0E4229
square
#0F0E42 #420E27 #41420E #0E4229
split-complementary
#0F0E42 #42290E #27420E
monochromatic
#060519 #060519 #0F0E42 #1A1974 #2623A7

Accessibility & contrast

On white

18.08
#0F0E42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#0F0E42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0E42
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0E42#FFFFFF#000000##FFFFFF
##0F0E421.0018.081.1618.08
#FFFFFF18.081.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001844
Deuteranopia (green-blind)
#001441
Tritanopia (blue-blind)
#001C26
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0f0e42;
/* rgb */ color: rgb(15, 14, 66);
/* oklch */ color: oklch(20.9% 0.095 275.3);
Tailwind
colors: {
  custom: {
    50: '#564c77',
    500: '#0f0e42',
    950: '#000000',
  },
}
SCSS
$custom: #0f0e42;
$custom-light: #564c77;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0e42",
  "rgb": {
    "r": 15,
    "g": 14,
    "b": 66
  },
  "hsl": {
    "h": 241.154,
    "s": 65,
    "l": 15.686
  },
  "oklch": {
    "l": 0.20929,
    "c": 0.09459,
    "h": 275.3
  },
  "luminance": 0.00809
}

Semantic roles & 50–950 ramp

primary
#0F0E42
secondary
#7B7D2F
accent
#E840E5
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #0F0E42

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

Preview Lab → · Contrast checker → · Palette generator →

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