#0E1150#0E1150

#0E1150 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.0% C 0.112 H 271.5°. Best body text is #FFFFFF at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#0E1150
RGBrgb(14, 17, 80)
HSLhsl(237, 70%, 18%)
HSVhsv(237, 83%, 31%)
CMYKcmyk(82.5%, 78.8%, 0%, 68.6%)
CIE-LABlab(9.59, 23.69, -38.58)
CIE-LCHlch(9.59, 45.28, 301.55°)
OKLaboklab(23.05% 0.003 -0.1117)
OKLCHoklch(23.05% 0.112 271.5)
XYZxyz(1.8290, 1.0733, 7.6986)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E1150 #504D0E
analogous
#0E3250 #0E1150 #2C0E50
triadic
#0E1150 #500E11 #11500E
tetradic
#0E1150 #500E32 #504D0E #0E502C
square
#0E1150 #500E32 #504D0E #0E502C
split-complementary
#0E1150 #502C0E #32500E
monochromatic
#05061A #05061C #0E1150 #171C84 #2027B8

Accessibility & contrast

On white

17.29
#0E1150 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0E1150
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E1150#FFFFFF#000000##FFFFFF
##0E11501.0017.291.2117.29
#FFFFFF17.291.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E52
Deuteranopia (green-blind)
#00174F
Tritanopia (blue-blind)
#00232F
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0e1150;
/* rgb */ color: rgb(14, 17, 80);
/* oklch */ color: oklch(23.0% 0.112 271.5);
Tailwind
colors: {
  custom: {
    50: '#5a4f82',
    500: '#0e1150',
    950: '#000000',
  },
}
SCSS
$custom: #0e1150;
$custom-light: #5a4f82;
$custom-dark: #000000;
JSON
{
  "hex": "#0e1150",
  "rgb": {
    "r": 14,
    "g": 17,
    "b": 80
  },
  "hsl": {
    "h": 237.273,
    "s": 70.213,
    "l": 18.431
  },
  "oklch": {
    "l": 0.23048,
    "c": 0.11173,
    "h": 271.5
  },
  "luminance": 0.01073
}

Semantic roles & 50–950 ramp

primary
#0E1150
secondary
#8B862F
accent
#E53BED
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020A
muted
#79787C

Preview Lab

Preview with #0E1150

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

Preview Lab → · Contrast checker → · Palette generator →

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