#0E0C50#0E0C50

#0E0C50 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 22.2% C 0.117 H 272.7°. Best body text is #FFFFFF at 17.69:1 contrast (WCAG AA passes).

Color values

HEX#0E0C50
RGBrgb(14, 12, 80)
HSLhsl(242, 74%, 18%)
HSVhsv(242, 85%, 31%)
CMYKcmyk(82.5%, 85%, 0%, 68.6%)
CIE-LABlab(8.44, 26.94, -40.48)
CIE-LCHlch(8.44, 48.62, 303.64°)
OKLaboklab(22.24% 0.0055 -0.1171)
OKLCHoklch(22.24% 0.117 272.7)
XYZxyz(1.7601, 0.9353, 7.6756)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E0C50 #4E500C
analogous
#0C2C50 #0E0C50 #300C50
triadic
#0E0C50 #500E0C #0C500E
tetradic
#0E0C50 #500C2C #4E500C #0C5030
square
#0E0C50 #500C2C #4E500C #0C5030
split-complementary
#0E0C50 #50300C #2C500C
monochromatic
#05041B #05041B #0E0C50 #171485 #211CBA

Accessibility & contrast

On white

17.69
#0E0C50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0E0C50
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E0C50#FFFFFF#000000##FFFFFF
##0E0C501.0017.691.1917.69
#FFFFFF17.691.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C52
Deuteranopia (green-blind)
#00154F
Tritanopia (blue-blind)
#00212E
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0e0c50;
/* rgb */ color: rgb(14, 12, 80);
/* oklch */ color: oklch(22.2% 0.117 272.7);
Tailwind
colors: {
  custom: {
    50: '#5a4c82',
    500: '#0e0c50',
    950: '#000000',
  },
}
SCSS
$custom: #0e0c50;
$custom-light: #5a4c82;
$custom-dark: #000000;
JSON
{
  "hex": "#0e0c50",
  "rgb": {
    "r": 14,
    "g": 12,
    "b": 80
  },
  "hsl": {
    "h": 241.765,
    "s": 73.913,
    "l": 18.039
  },
  "oklch": {
    "l": 0.22235,
    "c": 0.11728,
    "h": 272.7
  },
  "luminance": 0.00935
}

Semantic roles & 50–950 ramp

primary
#0E0C50
secondary
#898B2C
accent
#F137EB
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04010A
muted
#79777C

Preview Lab

Preview with #0E0C50

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

Preview Lab → · Contrast checker → · Palette generator →

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