#0E0843#0E0843

#0E0843 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.0% C 0.104 H 276.1°. Best body text is #FFFFFF at 18.51:1 contrast (WCAG AA passes).

Color values

HEX#0E0843
RGBrgb(14, 8, 67)
HSLhsl(246, 79%, 15%)
HSVhsv(246, 88%, 26%)
CMYKcmyk(79.1%, 88.1%, 0%, 73.7%)
CIE-LABlab(6.07, 23.84, -35.30)
CIE-LCHlch(6.07, 42.59, 304.04°)
OKLaboklab(19.96% 0.011 -0.1029)
OKLCHoklch(19.96% 0.104 276.1)
XYZxyz(1.2807, 0.6722, 5.3713)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E0843 #3D4308
analogous
#081F43 #0E0843 #2C0843
triadic
#0E0843 #430E08 #08430E
tetradic
#0E0843 #43081F #3D4308 #08432C
square
#0E0843 #43081F #3D4308 #08432C
split-complementary
#0E0843 #432C08 #1F4308
monochromatic
#06031B #06031B #0E0843 #190F7A #2515B0

Accessibility & contrast

On white

18.51
#0E0843 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#0E0843 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E0843
18.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E0843#FFFFFF#000000##FFFFFF
##0E08431.0018.511.1318.51
#FFFFFF18.511.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001645
Deuteranopia (green-blind)
#001142
Tritanopia (blue-blind)
#001A25
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #0e0843;
/* rgb */ color: rgb(14, 8, 67);
/* oklch */ color: oklch(20.0% 0.104 276.1);
Tailwind
colors: {
  custom: {
    50: '#574978',
    500: '#0e0843',
    950: '#000000',
  },
}
SCSS
$custom: #0e0843;
$custom-light: #574978;
$custom-dark: #000000;
JSON
{
  "hex": "#0e0843",
  "rgb": {
    "r": 14,
    "g": 8,
    "b": 67
  },
  "hsl": {
    "h": 246.102,
    "s": 78.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.19956,
    "c": 0.10352,
    "h": 276.1
  },
  "luminance": 0.00672
}

Semantic roles & 50–950 ramp

primary
#0E0843
secondary
#788125
accent
#F533E1
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #0E0843

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

Preview Lab → · Contrast checker → · Palette generator →

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