#0E1248#0E1248

#0E1248 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.3% C 0.099 H 272.0°. Best body text is #FFFFFF at 17.52:1 contrast (WCAG AA passes).

Color values

HEX#0E1248
RGBrgb(14, 18, 72)
HSLhsl(236, 67%, 17%)
HSVhsv(236, 81%, 28%)
CMYKcmyk(80.6%, 75%, 0%, 71.8%)
CIE-LABlab(8.94, 19.75, -34.11)
CIE-LCHlch(8.94, 39.41, 300.08°)
OKLaboklab(22.31% 0.0035 -0.0986)
OKLCHoklch(22.31% 0.099 272)
XYZxyz(1.5667, 0.9937, 6.2389)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E1248 #48440E
analogous
#0E2F48 #0E1248 #270E48
triadic
#0E1248 #480E12 #12480E
tetradic
#0E1248 #480E2F #48440E #0E4827
square
#0E1248 #480E2F #48440E #0E4827
split-complementary
#0E1248 #48270E #2F480E
monochromatic
#05061A #05061A #0E1248 #181F7B #222CAE

Accessibility & contrast

On white

17.52
#0E1248 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0E1248
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E1248#FFFFFF#000000##FFFFFF
##0E12481.0017.521.2017.52
#FFFFFF17.521.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4A
Deuteranopia (green-blind)
#001747
Tritanopia (blue-blind)
#00212B
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0e1248;
/* rgb */ color: rgb(14, 18, 72);
/* oklch */ color: oklch(22.3% 0.099 272.0);
Tailwind
colors: {
  custom: {
    50: '#574f7c',
    500: '#0e1248',
    950: '#000000',
  },
}
SCSS
$custom: #0e1248;
$custom-light: #574f7c;
$custom-dark: #000000;
JSON
{
  "hex": "#0e1248",
  "rgb": {
    "r": 14,
    "g": 18,
    "b": 72
  },
  "hsl": {
    "h": 235.862,
    "s": 67.442,
    "l": 16.863
  },
  "oklch": {
    "l": 0.22307,
    "c": 0.09868,
    "h": 272
  },
  "luminance": 0.00994
}

Semantic roles & 50–950 ramp

primary
#0E1248
secondary
#837D2F
accent
#DE3DEA
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040209
muted
#79787B

Preview Lab

Preview with #0E1248

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

Preview Lab → · Contrast checker → · Palette generator →

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