#0E0C4F#0E0C4F

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

Color values

HEX#0E0C4F
RGBrgb(14, 12, 79)
HSLhsl(242, 74%, 18%)
HSVhsv(242, 85%, 31%)
CMYKcmyk(82.3%, 84.8%, 0%, 69%)
CIE-LABlab(8.31, 26.57, -40.00)
CIE-LCHlch(8.31, 48.02, 303.59°)
OKLaboklab(22.11% 0.0057 -0.1158)
OKLCHoklch(22.11% 0.116 272.8)
XYZxyz(1.7234, 0.9206, 7.4825)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E0C4F #4D4F0C
analogous
#0C2B4F #0E0C4F #2F0C4F
triadic
#0E0C4F #4F0E0C #0C4F0E
tetradic
#0E0C4F #4F0C2B #4D4F0C #0C4F2F
square
#0E0C4F #4F0C2B #4D4F0C #0C4F2F
split-complementary
#0E0C4F #4F2F0C #2B4F0C
monochromatic
#05041B #05041B #0E0C4F #171484 #211CB9

Accessibility & contrast

On white

17.73
#0E0C4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#0E0C4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E0C4F
17.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E0C4F#FFFFFF#000000##FFFFFF
##0E0C4F1.0017.731.1817.73
#FFFFFF17.731.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B51
Deuteranopia (green-blind)
#00154E
Tritanopia (blue-blind)
#00202D
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0e0c4f;
/* rgb */ color: rgb(14, 12, 79);
/* oklch */ color: oklch(22.1% 0.116 272.8);
Tailwind
colors: {
  custom: {
    50: '#5a4c81',
    500: '#0e0c4f',
    950: '#000000',
  },
}
SCSS
$custom: #0e0c4f;
$custom-light: #5a4c81;
$custom-dark: #000000;
JSON
{
  "hex": "#0e0c4f",
  "rgb": {
    "r": 14,
    "g": 12,
    "b": 79
  },
  "hsl": {
    "h": 241.791,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.22107,
    "c": 0.1159,
    "h": 272.8
  },
  "luminance": 0.00921
}

Semantic roles & 50–950 ramp

primary
#0E0C4F
secondary
#888B2C
accent
#F038EB
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04010A
muted
#79777C

Preview Lab

Preview with #0E0C4F

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

Preview Lab → · Contrast checker → · Palette generator →

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