#0E1541#0E1541

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

Color values

HEX#0E1541
RGBrgb(14, 21, 65)
HSLhsl(232, 65%, 15%)
HSVhsv(232, 78%, 25%)
CMYKcmyk(78.5%, 67.7%, 0%, 74.5%)
CIE-LABlab(9.08, 14.53, -28.94)
CIE-LCHlch(9.08, 32.39, 296.66°)
OKLaboklab(22.19% 0.0015 -0.0835)
OKLCHoklch(22.19% 0.083 271)
XYZxyz(1.4031, 1.0112, 5.1212)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E1541 #413A0E
analogous
#0E2E41 #0E1541 #200E41
triadic
#0E1541 #410E15 #15410E
tetradic
#0E1541 #410E2E #413A0E #0E4120
square
#0E1541 #410E2E #413A0E #0E4120
split-complementary
#0E1541 #41200E #2E410E
monochromatic
#050819 #050819 #0E1541 #192573 #2436A6

Accessibility & contrast

On white

17.47
#0E1541 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0E1541
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E1541#FFFFFF#000000##FFFFFF
##0E15411.0017.471.2017.47
#FFFFFF17.471.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C42
Deuteranopia (green-blind)
#001740
Tritanopia (blue-blind)
#002028
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0e1541;
/* rgb */ color: rgb(14, 21, 65);
/* oklch */ color: oklch(22.2% 0.083 271.0);
Tailwind
colors: {
  custom: {
    50: '#555276',
    500: '#0e1541',
    950: '#000000',
  },
}
SCSS
$custom: #0e1541;
$custom-light: #555276;
$custom-dark: #000000;
JSON
{
  "hex": "#0e1541",
  "rgb": {
    "r": 14,
    "g": 21,
    "b": 65
  },
  "hsl": {
    "h": 231.765,
    "s": 64.557,
    "l": 15.49
  },
  "oklch": {
    "l": 0.22192,
    "c": 0.08347,
    "h": 271
  },
  "luminance": 0.01011
}

Semantic roles & 50–950 ramp

primary
#0E1541
secondary
#7C712F
accent
#D140E8
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0E1541

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

Preview Lab → · Contrast checker → · Palette generator →

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