#0E1A52#0E1A52

#0E1A52 is a dark, moderate blue. Relative luminance 0.014; OKLCH L 25.0% C 0.103 H 268.4°. Best body text is #FFFFFF at 16.30:1 contrast (WCAG AA passes).

Color values

HEX#0E1A52
RGBrgb(14, 26, 82)
HSLhsl(229, 71%, 19%)
HSVhsv(229, 83%, 32%)
CMYKcmyk(82.9%, 68.3%, 0%, 67.8%)
CIE-LABlab(12.23, 18.02, -35.62)
CIE-LCHlch(12.23, 39.92, 296.84°)
OKLaboklab(25.04% -0.003 -0.103)
OKLCHoklch(25.04% 0.103 268.4)
XYZxyz(2.0730, 1.4411, 8.1499)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E1A52 #52460E
analogous
#0E3C52 #0E1A52 #240E52
triadic
#0E1A52 #520E1A #1A520E
tetradic
#0E1A52 #520E3C #52460E #0E5224
square
#0E1A52 #520E3C #52460E #0E5224
split-complementary
#0E1A52 #52240E #3C520E
monochromatic
#04081A #05091E #0E1A52 #172B86 #203BBB

Accessibility & contrast

On white

16.30
#0E1A52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#0E1A52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E1A52
16.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E1A52#FFFFFF#000000##FFFFFF
##0E1A521.0016.301.2916.30
#FFFFFF16.301.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002354
Deuteranopia (green-blind)
#001D51
Tritanopia (blue-blind)
#002933
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #0e1a52;
/* rgb */ color: rgb(14, 26, 82);
/* oklch */ color: oklch(25.0% 0.103 268.4);
Tailwind
colors: {
  custom: {
    50: '#595683',
    500: '#0e1a52',
    950: '#000000',
  },
}
SCSS
$custom: #0e1a52;
$custom-light: #595683;
$custom-dark: #000000;
JSON
{
  "hex": "#0e1a52",
  "rgb": {
    "r": 14,
    "g": 26,
    "b": 82
  },
  "hsl": {
    "h": 229.412,
    "s": 70.833,
    "l": 18.824
  },
  "oklch": {
    "l": 0.25036,
    "c": 0.10301,
    "h": 268.4
  },
  "luminance": 0.01441
}

Semantic roles & 50–950 ramp

primary
#0E1A52
secondary
#8C7C2F
accent
#CE3AEE
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #0E1A52

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

Preview Lab → · Contrast checker → · Palette generator →

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