#0E1040#0E1040

#0E1040 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.0% C 0.089 H 273.9°. Best body text is #FFFFFF at 18.00:1 contrast (WCAG AA passes).

Color values

HEX#0E1040
RGBrgb(14, 16, 64)
HSLhsl(238, 64%, 15%)
HSVhsv(238, 78%, 25%)
CMYKcmyk(78.1%, 75%, 0%, 74.9%)
CIE-LABlab(7.53, 17.88, -30.77)
CIE-LCHlch(7.53, 35.58, 300.16°)
OKLaboklab(21.01% 0.006 -0.0889)
OKLCHoklch(21.01% 0.089 273.9)
XYZxyz(1.2915, 0.8340, 4.9424)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E1040 #403E0E
analogous
#0E2940 #0E1040 #250E40
triadic
#0E1040 #400E10 #10400E
tetradic
#0E1040 #400E29 #403E0E #0E4025
square
#0E1040 #400E29 #403E0E #0E4025
split-complementary
#0E1040 #40250E #29400E
monochromatic
#050619 #050619 #0E1040 #191D72 #2429A4

Accessibility & contrast

On white

18.00
#0E1040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#0E1040 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E1040
18.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E1040#FFFFFF#000000##FFFFFF
##0E10401.0018.001.1718.00
#FFFFFF18.001.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001942
Deuteranopia (green-blind)
#00143F
Tritanopia (blue-blind)
#001D26
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0e1040;
/* rgb */ color: rgb(14, 16, 64);
/* oklch */ color: oklch(21.0% 0.089 273.9);
Tailwind
colors: {
  custom: {
    50: '#554e75',
    500: '#0e1040',
    950: '#000000',
  },
}
SCSS
$custom: #0e1040;
$custom-light: #554e75;
$custom-dark: #000000;
JSON
{
  "hex": "#0e1040",
  "rgb": {
    "r": 14,
    "g": 16,
    "b": 64
  },
  "hsl": {
    "h": 237.6,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.21014,
    "c": 0.08911,
    "h": 273.9
  },
  "luminance": 0.00834
}

Semantic roles & 50–950 ramp

primary
#0E1040
secondary
#7B782F
accent
#E041E7
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0E1040

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

Preview Lab → · Contrast checker → · Palette generator →

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