#0E1245#0E1245

#0E1245 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.0% C 0.094 H 272.4°. Best body text is #FFFFFF at 17.63:1 contrast (WCAG AA passes).

Color values

HEX#0E1245
RGBrgb(14, 18, 69)
HSLhsl(236, 66%, 16%)
HSVhsv(236, 80%, 27%)
CMYKcmyk(79.7%, 73.9%, 0%, 72.9%)
CIE-LABlab(8.62, 18.51, -32.53)
CIE-LCHlch(8.62, 37.43, 299.64°)
OKLaboklab(21.97% 0.0039 -0.094)
OKLCHoklch(21.97% 0.094 272.4)
XYZxyz(1.4712, 0.9555, 5.7360)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E1245 #45410E
analogous
#0E2E45 #0E1245 #260E45
triadic
#0E1245 #450E12 #12450E
tetradic
#0E1245 #450E2E #45410E #0E4526
square
#0E1245 #450E2E #45410E #0E4526
split-complementary
#0E1245 #45260E #2E450E
monochromatic
#050719 #050719 #0E1245 #181F78 #232DAB

Accessibility & contrast

On white

17.63
#0E1245 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#0E1245 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E1245
17.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E1245#FFFFFF#000000##FFFFFF
##0E12451.0017.631.1917.63
#FFFFFF17.631.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B47
Deuteranopia (green-blind)
#001644
Tritanopia (blue-blind)
#001F29
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0e1245;
/* rgb */ color: rgb(14, 18, 69);
/* oklch */ color: oklch(22.0% 0.094 272.4);
Tailwind
colors: {
  custom: {
    50: '#564f79',
    500: '#0e1245',
    950: '#000000',
  },
}
SCSS
$custom: #0e1245;
$custom-light: #564f79;
$custom-dark: #000000;
JSON
{
  "hex": "#0e1245",
  "rgb": {
    "r": 14,
    "g": 18,
    "b": 69
  },
  "hsl": {
    "h": 235.636,
    "s": 66.265,
    "l": 16.275
  },
  "oklch": {
    "l": 0.21972,
    "c": 0.0941,
    "h": 272.4
  },
  "luminance": 0.00956
}

Semantic roles & 50–950 ramp

primary
#0E1245
secondary
#807A2F
accent
#DD3FE9
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030209
muted
#78787B

Preview Lab

Preview with #0E1245

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

Preview Lab → · Contrast checker → · Palette generator →

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