#0E0540#0E0540

#0E0540 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.0% C 0.103 H 277.8°. Best body text is #FFFFFF at 18.84:1 contrast (WCAG AA passes).

Color values

HEX#0E0540
RGBrgb(14, 5, 64)
HSLhsl(249, 86%, 14%)
HSVhsv(249, 92%, 25%)
CMYKcmyk(78.1%, 92.2%, 0%, 74.9%)
CIE-LABlab(5.17, 23.90, -34.64)
CIE-LCHlch(5.17, 42.08, 304.60°)
OKLaboklab(19.04% 0.014 -0.1022)
OKLCHoklch(19.04% 0.103 277.8)
XYZxyz(1.1605, 0.5720, 4.8987)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E0540 #374005
analogous
#051940 #0E0540 #2B0540
triadic
#0E0540 #400E05 #05400E
tetradic
#0E0540 #400519 #374005 #05402B
square
#0E0540 #400519 #374005 #05402B
split-complementary
#0E0540 #402B05 #194005
monochromatic
#06021C #06021C #0E0540 #1A0979 #270EB2

Accessibility & contrast

On white

18.84
#0E0540 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#0E0540 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E0540
18.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E0540#FFFFFF#000000##FFFFFF
##0E05401.0018.841.1118.84
#FFFFFF18.841.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001442
Deuteranopia (green-blind)
#000F3F
Tritanopia (blue-blind)
#001723
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #0e0540;
/* rgb */ color: rgb(14, 5, 64);
/* oklch */ color: oklch(19.0% 0.103 277.8);
Tailwind
colors: {
  custom: {
    50: '#564876',
    500: '#0e0540',
    950: '#000000',
  },
}
SCSS
$custom: #0e0540;
$custom-light: #564876;
$custom-dark: #000000;
JSON
{
  "hex": "#0e0540",
  "rgb": {
    "r": 14,
    "g": 5,
    "b": 64
  },
  "hsl": {
    "h": 249.153,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.19043,
    "c": 0.10311,
    "h": 277.8
  },
  "luminance": 0.00572
}

Semantic roles & 50–950 ramp

primary
#0E0540
secondary
#728120
accent
#FC2CDC
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030008
muted
#78777B

Preview Lab

Preview with #0E0540

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

Preview Lab → · Contrast checker → · Palette generator →

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