#0E104F#0E104F

#0E104F is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.8% C 0.111 H 271.9°. Best body text is #FFFFFF at 17.42:1 contrast (WCAG AA passes).

Color values

HEX#0E104F
RGBrgb(14, 16, 79)
HSLhsl(238, 70%, 18%)
HSVhsv(238, 82%, 31%)
CMYKcmyk(82.3%, 79.7%, 0%, 69%)
CIE-LABlab(9.22, 23.98, -38.49)
CIE-LCHlch(9.22, 45.35, 301.92°)
OKLaboklab(22.75% 0.0037 -0.1114)
OKLCHoklch(22.75% 0.111 271.9)
XYZxyz(1.7772, 1.0283, 7.5004)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E104F #4F4D0E
analogous
#0E304F #0E104F #2C0E4F
triadic
#0E104F #4F0E10 #104F0E
tetradic
#0E104F #4F0E30 #4F4D0E #0E4F2C
square
#0E104F #4F0E30 #4F4D0E #0E4F2C
split-complementary
#0E104F #4F2C0E #304F0E
monochromatic
#05051A #05051B #0E104F #171B83 #2025B7

Accessibility & contrast

On white

17.42
#0E104F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#0E104F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E104F
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E104F#FFFFFF#000000##FFFFFF
##0E104F1.0017.421.2117.42
#FFFFFF17.421.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D51
Deuteranopia (green-blind)
#00174E
Tritanopia (blue-blind)
#00222E
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0e104f;
/* rgb */ color: rgb(14, 16, 79);
/* oklch */ color: oklch(22.8% 0.111 271.9);
Tailwind
colors: {
  custom: {
    50: '#5a4e81',
    500: '#0e104f',
    950: '#000000',
  },
}
SCSS
$custom: #0e104f;
$custom-light: #5a4e81;
$custom-dark: #000000;
JSON
{
  "hex": "#0e104f",
  "rgb": {
    "r": 14,
    "g": 16,
    "b": 79
  },
  "hsl": {
    "h": 238.154,
    "s": 69.892,
    "l": 18.235
  },
  "oklch": {
    "l": 0.22753,
    "c": 0.11148,
    "h": 271.9
  },
  "luminance": 0.01028
}

Semantic roles & 50–950 ramp

primary
#0E104F
secondary
#8A872F
accent
#E73BED
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04010A
muted
#79777C

Preview Lab

Preview with #0E104F

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

Preview Lab → · Contrast checker → · Palette generator →

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