#0E1540#0E1540

#0E1540 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.1% C 0.082 H 271.0°. Best body text is #FFFFFF at 17.50:1 contrast (WCAG AA passes).

Color values

HEX#0E1540
RGBrgb(14, 21, 64)
HSLhsl(232, 64%, 15%)
HSVhsv(232, 78%, 25%)
CMYKcmyk(78.1%, 67.2%, 0%, 74.9%)
CIE-LABlab(8.99, 14.10, -28.39)
CIE-LCHlch(8.99, 31.70, 296.41°)
OKLaboklab(22.09% 0.0015 -0.0818)
OKLCHoklch(22.09% 0.082 271)
XYZxyz(1.3744, 0.9997, 4.9700)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E1540 #40390E
analogous
#0E2E40 #0E1540 #200E40
triadic
#0E1540 #400E15 #15400E
tetradic
#0E1540 #400E2E #40390E #0E4020
square
#0E1540 #400E2E #40390E #0E4020
split-complementary
#0E1540 #40200E #2E400E
monochromatic
#050819 #050819 #0E1540 #192572 #2436A4

Accessibility & contrast

On white

17.50
#0E1540 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0E1540
17.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E1540#FFFFFF#000000##FFFFFF
##0E15401.0017.501.2017.50
#FFFFFF17.501.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C41
Deuteranopia (green-blind)
#00173F
Tritanopia (blue-blind)
#002028
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0e1540;
/* rgb */ color: rgb(14, 21, 64);
/* oklch */ color: oklch(22.1% 0.082 271.0);
Tailwind
colors: {
  custom: {
    50: '#545275',
    500: '#0e1540',
    950: '#000000',
  },
}
SCSS
$custom: #0e1540;
$custom-light: #545275;
$custom-dark: #000000;
JSON
{
  "hex": "#0e1540",
  "rgb": {
    "r": 14,
    "g": 21,
    "b": 64
  },
  "hsl": {
    "h": 231.6,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.22092,
    "c": 0.08185,
    "h": 271
  },
  "luminance": 0.01
}

Semantic roles & 50–950 ramp

primary
#0E1540
secondary
#7B702F
accent
#D041E7
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0E1540

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

Preview Lab → · Contrast checker → · Palette generator →

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