#0E0939#0E0939

#0E0939 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.9% C 0.088 H 278.5°. Best body text is #FFFFFF at 18.80:1 contrast (WCAG AA passes).

Color values

HEX#0E0939
RGBrgb(14, 9, 57)
HSLhsl(246, 73%, 13%)
HSVhsv(246, 84%, 22%)
CMYKcmyk(75.4%, 84.2%, 0%, 77.6%)
CIE-LABlab(5.28, 18.47, -29.41)
CIE-LCHlch(5.28, 34.73, 302.14°)
OKLaboklab(18.88% 0.0131 -0.0868)
OKLCHoklch(18.88% 0.088 278.5)
XYZxyz(1.0171, 0.5841, 3.9292)
Luminance0.0058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E0939 #343909
analogous
#091C39 #0E0939 #260939
triadic
#0E0939 #390E09 #09390E
tetradic
#0E0939 #39091C #343909 #093926
square
#0E0939 #39091C #343909 #093926
split-complementary
#0E0939 #392609 #1C3909
monochromatic
#06041A #06041A #0E0939 #1B116E #281AA3

Accessibility & contrast

On white

18.80
#0E0939 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#0E0939 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E0939
18.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E0939#FFFFFF#000000##FFFFFF
##0E09391.0018.801.1218.80
#FFFFFF18.801.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00133A
Deuteranopia (green-blind)
#001038
Tritanopia (blue-blind)
#001620
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #0e0939;
/* rgb */ color: rgb(14, 9, 57);
/* oklch */ color: oklch(18.9% 0.088 278.5);
Tailwind
colors: {
  custom: {
    50: '#534a70',
    500: '#0e0939',
    950: '#000000',
  },
}
SCSS
$custom: #0e0939;
$custom-light: #534a70;
$custom-dark: #000000;
JSON
{
  "hex": "#0e0939",
  "rgb": {
    "r": 14,
    "g": 9,
    "b": 57
  },
  "hsl": {
    "h": 246.25,
    "s": 72.727,
    "l": 12.941
  },
  "oklch": {
    "l": 0.18879,
    "c": 0.0878,
    "h": 278.5
  },
  "luminance": 0.00584
}

Semantic roles & 50–950 ramp

primary
#0E0939
secondary
#6F7727
accent
#EF38DC
background
#F5F4F6
surface
#E8E7EC
border
#C4C3C7
text
#030107
muted
#78777A

Preview Lab

Preview with #0E0939

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

Preview Lab → · Contrast checker → · Palette generator →

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