#0E1C51#0E1C51

#0E1C51 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.4% C 0.099 H 267.4°. Best body text is #FFFFFF at 16.11:1 contrast (WCAG AA passes).

Color values

HEX#0E1C51
RGBrgb(14, 28, 81)
HSLhsl(227, 71%, 19%)
HSVhsv(227, 83%, 32%)
CMYKcmyk(82.7%, 65.4%, 0%, 68.2%)
CIE-LABlab(12.72, 16.08, -34.13)
CIE-LCHlch(12.72, 37.73, 295.23°)
OKLaboklab(25.37% -0.0045 -0.0986)
OKLCHoklch(25.37% 0.099 267.4)
XYZxyz(2.0810, 1.5177, 7.9663)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E1C51 #51430E
analogous
#0E3D51 #0E1C51 #210E51
triadic
#0E1C51 #510E1C #1C510E
tetradic
#0E1C51 #510E3D #51430E #0E5121
square
#0E1C51 #510E3D #51430E #0E5121
split-complementary
#0E1C51 #51210E #3D510E
monochromatic
#05091A #050A1D #0E1C51 #172E85 #2040B9

Accessibility & contrast

On white

16.11
#0E1C51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#0E1C51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E1C51
16.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E1C51#FFFFFF#000000##FFFFFF
##0E1C511.0016.111.3016.11
#FFFFFF16.111.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002453
Deuteranopia (green-blind)
#001E50
Tritanopia (blue-blind)
#002933
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0e1c51;
/* rgb */ color: rgb(14, 28, 81);
/* oklch */ color: oklch(25.4% 0.099 267.4);
Tailwind
colors: {
  custom: {
    50: '#595782',
    500: '#0e1c51',
    950: '#000000',
  },
}
SCSS
$custom: #0e1c51;
$custom-light: #595782;
$custom-dark: #000000;
JSON
{
  "hex": "#0e1c51",
  "rgb": {
    "r": 14,
    "g": 28,
    "b": 81
  },
  "hsl": {
    "h": 227.463,
    "s": 70.526,
    "l": 18.627
  },
  "oklch": {
    "l": 0.2537,
    "c": 0.09869,
    "h": 267.4
  },
  "luminance": 0.01518
}

Semantic roles & 50–950 ramp

primary
#0E1C51
secondary
#8C782F
accent
#C83AED
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030A
muted
#79787C

Preview Lab

Preview with #0E1C51

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

Preview Lab → · Contrast checker → · Palette generator →

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