#0E125D#0E125D

#0E125D is a very dark, vivid blue. Relative luminance 0.013; OKLCH L 24.8% C 0.129 H 270.1°. Best body text is #FFFFFF at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#0E125D
RGBrgb(14, 18, 93)
HSLhsl(237, 74%, 21%)
HSVhsv(237, 85%, 36%)
CMYKcmyk(84.9%, 80.6%, 0%, 63.5%)
CIE-LABlab(11.39, 28.08, -44.45)
CIE-LCHlch(11.39, 52.57, 302.28°)
OKLaboklab(24.79% 0.0003 -0.1287)
OKLCHoklch(24.79% 0.129 270.1)
XYZxyz(2.3725, 1.3160, 10.4828)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E125D #5D590E
analogous
#0E395D #0E125D #310E5D
triadic
#0E125D #5D0E12 #125D0E
tetradic
#0E125D #5D0E39 #5D590E #0E5D31
square
#0E125D #5D0E39 #5D590E #0E5D31
split-complementary
#0E125D #5D310E #395D0E
monochromatic
#04051B #060828 #0E125D #161C92 #1E27C7

Accessibility & contrast

On white

16.62
#0E125D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#0E125D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E125D
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E125D#FFFFFF#000000##FFFFFF
##0E125D1.0016.621.2616.62
#FFFFFF16.621.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225F
Deuteranopia (green-blind)
#001A5C
Tritanopia (blue-blind)
#002836
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #0e125d;
/* rgb */ color: rgb(14, 18, 93);
/* oklch */ color: oklch(24.8% 0.129 270.1);
Tailwind
colors: {
  custom: {
    50: '#5e518c',
    500: '#0e125d',
    950: '#000000',
  },
}
SCSS
$custom: #0e125d;
$custom-light: #5e518c;
$custom-dark: #000000;
JSON
{
  "hex": "#0e125d",
  "rgb": {
    "r": 14,
    "g": 18,
    "b": 93
  },
  "hsl": {
    "h": 236.962,
    "s": 73.832,
    "l": 20.98
  },
  "oklch": {
    "l": 0.24794,
    "c": 0.12874,
    "h": 270.1
  },
  "luminance": 0.01316
}

Semantic roles & 50–950 ramp

primary
#0E125D
secondary
#979230
accent
#E737F0
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020C
muted
#79787D

Preview Lab

Preview with #0E125D

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

Preview Lab → · Contrast checker → · Palette generator →

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