#0E0C53#0E0C53

#0E0C53 is a very dark, vivid blue. Relative luminance 0.010; OKLCH L 22.6% C 0.121 H 272.2°. Best body text is #FFFFFF at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#0E0C53
RGBrgb(14, 12, 83)
HSLhsl(242, 75%, 19%)
HSVhsv(242, 86%, 33%)
CMYKcmyk(83.1%, 85.5%, 0%, 67.5%)
CIE-LABlab(8.83, 28.04, -41.90)
CIE-LCHlch(8.83, 50.42, 303.79°)
OKLaboklab(22.62% 0.0047 -0.1213)
OKLCHoklch(22.62% 0.121 272.2)
XYZxyz(1.8734, 0.9806, 8.2725)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E0C53 #51530C
analogous
#0C2D53 #0E0C53 #310C53
triadic
#0E0C53 #530E0C #0C530E
tetradic
#0E0C53 #530C2D #51530C #0C5331
square
#0E0C53 #530C2D #51530C #0C5331
split-complementary
#0E0C53 #53310C #2D530C
monochromatic
#05041B #05041E #0E0C53 #171488 #201BBE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0E0C53#FFFFFF#000000##FFFFFF
##0E0C531.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)
#001D55
Deuteranopia (green-blind)
#001652
Tritanopia (blue-blind)
#00222F
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0e0c53;
/* rgb */ color: rgb(14, 12, 83);
/* oklch */ color: oklch(22.6% 0.121 272.2);
Tailwind
colors: {
  custom: {
    50: '#5b4c84',
    500: '#0e0c53',
    950: '#000000',
  },
}
SCSS
$custom: #0e0c53;
$custom-light: #5b4c84;
$custom-dark: #000000;
JSON
{
  "hex": "#0e0c53",
  "rgb": {
    "r": 14,
    "g": 12,
    "b": 83
  },
  "hsl": {
    "h": 241.69,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.22621,
    "c": 0.12136,
    "h": 272.2
  },
  "luminance": 0.00981
}

Semantic roles & 50–950 ramp

primary
#0E0C53
secondary
#8C8E2D
accent
#F136EC
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05010B
muted
#79777C

Preview Lab

Preview with #0E0C53

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

Preview Lab → · Contrast checker → · Palette generator →

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