#0E1B54#0E1B54

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

Color values

HEX#0E1B54
RGBrgb(14, 27, 84)
HSLhsl(229, 71%, 19%)
HSVhsv(229, 83%, 33%)
CMYKcmyk(83.3%, 67.9%, 0%, 67.1%)
CIE-LABlab(12.72, 18.13, -36.18)
CIE-LCHlch(12.72, 40.47, 296.61°)
OKLaboklab(25.46% -0.0037 -0.1046)
OKLCHoklch(25.46% 0.105 268)
XYZxyz(2.1727, 1.5171, 8.5641)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E1B54 #54470E
analogous
#0E3E54 #0E1B54 #240E54
triadic
#0E1B54 #540E1B #1B540E
tetradic
#0E1B54 #540E3E #54470E #0E5424
square
#0E1B54 #540E3E #54470E #0E5424
split-complementary
#0E1B54 #54240E #3E540E
monochromatic
#04081A #050A20 #0E1B54 #172C88 #1F3DBD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0E1B54#FFFFFF#000000##FFFFFF
##0E1B541.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)
#002456
Deuteranopia (green-blind)
#001E53
Tritanopia (blue-blind)
#002A34
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0e1b54;
/* rgb */ color: rgb(14, 27, 84);
/* oklch */ color: oklch(25.5% 0.105 268.0);
Tailwind
colors: {
  custom: {
    50: '#5a5785',
    500: '#0e1b54',
    950: '#000000',
  },
}
SCSS
$custom: #0e1b54;
$custom-light: #5a5785;
$custom-dark: #000000;
JSON
{
  "hex": "#0e1b54",
  "rgb": {
    "r": 14,
    "g": 27,
    "b": 84
  },
  "hsl": {
    "h": 228.857,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.25457,
    "c": 0.10468,
    "h": 268
  },
  "luminance": 0.01517
}

Semantic roles & 50–950 ramp

primary
#0E1B54
secondary
#8E7D2F
accent
#CD3AEE
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #0E1B54

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

Preview Lab → · Contrast checker → · Palette generator →

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