#0E1257#0E1257

#0E1257 is a very dark, vivid blue. Relative luminance 0.012; OKLCH L 24.1% C 0.120 H 270.6°. Best body text is #FFFFFF at 16.90:1 contrast (WCAG AA passes).

Color values

HEX#0E1257
RGBrgb(14, 18, 87)
HSLhsl(237, 72%, 20%)
HSVhsv(237, 84%, 34%)
CMYKcmyk(83.9%, 79.3%, 0%, 65.9%)
CIE-LABlab(10.66, 25.77, -41.60)
CIE-LCHlch(10.66, 48.93, 301.78°)
OKLaboklab(24.06% 0.0013 -0.1205)
OKLCHoklch(24.06% 0.12 270.6)
XYZxyz(2.1171, 1.2139, 9.1377)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E1257 #57530E
analogous
#0E3757 #0E1257 #2E0E57
triadic
#0E1257 #570E12 #12570E
tetradic
#0E1257 #570E37 #57530E #0E572E
square
#0E1257 #570E37 #57530E #0E572E
split-complementary
#0E1257 #572E0E #37570E
monochromatic
#04051A #060722 #0E1257 #161D8C #1F28C0

Accessibility & contrast

On white

16.90
#0E1257 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#0E1257 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E1257
16.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E1257#FFFFFF#000000##FFFFFF
##0E12571.0016.901.2416.90
#FFFFFF16.901.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002059
Deuteranopia (green-blind)
#001956
Tritanopia (blue-blind)
#002633
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #0e1257;
/* rgb */ color: rgb(14, 18, 87);
/* oklch */ color: oklch(24.1% 0.120 270.6);
Tailwind
colors: {
  custom: {
    50: '#5c5087',
    500: '#0e1257',
    950: '#000000',
  },
}
SCSS
$custom: #0e1257;
$custom-light: #5c5087;
$custom-dark: #000000;
JSON
{
  "hex": "#0e1257",
  "rgb": {
    "r": 14,
    "g": 18,
    "b": 87
  },
  "hsl": {
    "h": 236.712,
    "s": 72.277,
    "l": 19.804
  },
  "oklch": {
    "l": 0.24061,
    "c": 0.12047,
    "h": 270.6
  },
  "luminance": 0.01214
}

Semantic roles & 50–950 ramp

primary
#0E1257
secondary
#918C30
accent
#E539EF
background
#F5F4F8
surface
#E9E7F0
border
#C5C3CB
text
#05020B
muted
#79787C

Preview Lab

Preview with #0E1257

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

Preview Lab → · Contrast checker → · Palette generator →

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