#0E0F4F#0E0F4F

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

Color values

HEX#0E0F4F
RGBrgb(14, 15, 79)
HSLhsl(239, 70%, 18%)
HSVhsv(239, 82%, 31%)
CMYKcmyk(82.3%, 81%, 0%, 69%)
CIE-LABlab(8.99, 24.65, -38.89)
CIE-LCHlch(8.99, 46.04, 302.37°)
OKLaboklab(22.58% 0.0043 -0.1126)
OKLCHoklch(22.58% 0.113 272.2)
XYZxyz(1.7627, 0.9993, 7.4956)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E0F4F #4F4E0E
analogous
#0E2F4F #0E0F4F #2D0E4F
triadic
#0E0F4F #4F0E0F #0F4F0E
tetradic
#0E0F4F #4F0E2F #4F4E0E #0E4F2D
square
#0E0F4F #4F0E2F #4F4E0E #0E4F2D
split-complementary
#0E0F4F #4F2D0E #2F4F0E
monochromatic
#05051A #05051B #0E0F4F #171983 #2023B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0E0F4F#FFFFFF#000000##FFFFFF
##0E0F4F1.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)
#001D51
Deuteranopia (green-blind)
#00164E
Tritanopia (blue-blind)
#00222E
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0e0f4f;
/* rgb */ color: rgb(14, 15, 79);
/* oklch */ color: oklch(22.6% 0.113 272.2);
Tailwind
colors: {
  custom: {
    50: '#5a4e81',
    500: '#0e0f4f',
    950: '#000000',
  },
}
SCSS
$custom: #0e0f4f;
$custom-light: #5a4e81;
$custom-dark: #000000;
JSON
{
  "hex": "#0e0f4f",
  "rgb": {
    "r": 14,
    "g": 15,
    "b": 79
  },
  "hsl": {
    "h": 239.077,
    "s": 69.892,
    "l": 18.235
  },
  "oklch": {
    "l": 0.22583,
    "c": 0.11264,
    "h": 272.2
  },
  "luminance": 0.01
}

Semantic roles & 50–950 ramp

primary
#0E0F4F
secondary
#8A882F
accent
#EA3BED
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04010A
muted
#79777C

Preview Lab

Preview with #0E0F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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