#0E1C54#0E1C54

#0E1C54 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.7% C 0.103 H 267.5°. Best body text is #FFFFFF at 16.00:1 contrast (WCAG AA passes).

Color values

HEX#0E1C54
RGBrgb(14, 28, 84)
HSLhsl(228, 71%, 19%)
HSVhsv(228, 83%, 33%)
CMYKcmyk(83.3%, 66.7%, 0%, 67.1%)
CIE-LABlab(13.01, 17.38, -35.70)
CIE-LCHlch(13.01, 39.71, 295.95°)
OKLaboklab(25.67% -0.0045 -0.1032)
OKLCHoklch(25.67% 0.103 267.5)
XYZxyz(2.1960, 1.5637, 8.5719)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E1C54 #54460E
analogous
#0E3F54 #0E1C54 #230E54
triadic
#0E1C54 #540E1C #1C540E
tetradic
#0E1C54 #540E3F #54460E #0E5423
square
#0E1C54 #540E3F #54460E #0E5423
split-complementary
#0E1C54 #54230E #3F540E
monochromatic
#04091A #050B20 #0E1C54 #172D88 #1F3FBD

Accessibility & contrast

On white

16.00
#0E1C54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#0E1C54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E1C54
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E1C54#FFFFFF#000000##FFFFFF
##0E1C541.0016.001.3116.00
#FFFFFF16.001.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002556
Deuteranopia (green-blind)
#001E53
Tritanopia (blue-blind)
#002A35
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0e1c54;
/* rgb */ color: rgb(14, 28, 84);
/* oklch */ color: oklch(25.7% 0.103 267.5);
Tailwind
colors: {
  custom: {
    50: '#5a5785',
    500: '#0e1c54',
    950: '#000000',
  },
}
SCSS
$custom: #0e1c54;
$custom-light: #5a5785;
$custom-dark: #000000;
JSON
{
  "hex": "#0e1c54",
  "rgb": {
    "r": 14,
    "g": 28,
    "b": 84
  },
  "hsl": {
    "h": 228,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.25673,
    "c": 0.10331,
    "h": 267.5
  },
  "luminance": 0.01564
}

Semantic roles & 50–950 ramp

primary
#0E1C54
secondary
#8E7B2F
accent
#CA3AEE
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #0E1C54

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

Preview Lab → · Contrast checker → · Palette generator →

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