#0E0640#0E0640

#0E0640 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.2% C 0.102 H 277.5°. Best body text is #FFFFFF at 18.77:1 contrast (WCAG AA passes).

Color values

HEX#0E0640
RGBrgb(14, 6, 64)
HSLhsl(248, 83%, 14%)
HSVhsv(248, 91%, 25%)
CMYKcmyk(78.1%, 90.6%, 0%, 74.9%)
CIE-LABlab(5.36, 23.41, -34.32)
CIE-LCHlch(5.36, 41.54, 304.30°)
OKLaboklab(19.22% 0.0133 -0.1009)
OKLCHoklch(19.22% 0.102 277.5)
XYZxyz(1.1713, 0.5937, 4.9024)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E0640 #384006
analogous
#061B40 #0E0640 #2B0640
triadic
#0E0640 #400E06 #06400E
tetradic
#0E0640 #40061B #384006 #06402B
square
#0E0640 #40061B #384006 #06402B
split-complementary
#0E0640 #402B06 #1B4006
monochromatic
#06031C #06031C #0E0640 #1A0B78 #2610B0

Accessibility & contrast

On white

18.77
#0E0640 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#0E0640 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E0640
18.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E0640#FFFFFF#000000##FFFFFF
##0E06401.0018.771.1218.77
#FFFFFF18.771.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0e0640;
/* rgb */ color: rgb(14, 6, 64);
/* oklch */ color: oklch(19.2% 0.102 277.5);
Tailwind
colors: {
  custom: {
    50: '#564876',
    500: '#0e0640',
    950: '#000000',
  },
}
SCSS
$custom: #0e0640;
$custom-light: #564876;
$custom-dark: #000000;
JSON
{
  "hex": "#0e0640",
  "rgb": {
    "r": 14,
    "g": 6,
    "b": 64
  },
  "hsl": {
    "h": 248.276,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.19222,
    "c": 0.10181,
    "h": 277.5
  },
  "luminance": 0.00594
}

Semantic roles & 50–950 ramp

primary
#0E0640
secondary
#738022
accent
#F92FDD
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030008
muted
#78777B

Preview Lab

Preview with #0E0640

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

Preview Lab → · Contrast checker → · Palette generator →

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