#0E1F54#0E1F54

#0E1F54 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.3% C 0.099 H 266.1°. Best body text is #FFFFFF at 15.64:1 contrast (WCAG AA passes).

Color values

HEX#0E1F54
RGBrgb(14, 31, 84)
HSLhsl(225, 71%, 19%)
HSVhsv(225, 83%, 33%)
CMYKcmyk(83.3%, 63.1%, 0%, 67.1%)
CIE-LABlab(13.90, 15.11, -34.24)
CIE-LCHlch(13.90, 37.43, 293.81°)
OKLaboklab(26.34% -0.0068 -0.0989)
OKLCHoklch(26.34% 0.099 266.1)
XYZxyz(2.2708, 1.7132, 8.5968)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E1F54 #54430E
analogous
#0E4254 #0E1F54 #200E54
triadic
#0E1F54 #540E1F #1F540E
tetradic
#0E1F54 #540E42 #54430E #0E5420
square
#0E1F54 #540E42 #54430E #0E5420
split-complementary
#0E1F54 #54200E #42540E
monochromatic
#040A1A #050C20 #0E1F54 #173288 #1F46BD

Accessibility & contrast

On white

15.64
#0E1F54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#0E1F54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E1F54
15.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E1F54#FFFFFF#000000##FFFFFF
##0E1F541.0015.641.3415.64
#FFFFFF15.641.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002756
Deuteranopia (green-blind)
#002053
Tritanopia (blue-blind)
#002C36
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0e1f54;
/* rgb */ color: rgb(14, 31, 84);
/* oklch */ color: oklch(26.3% 0.099 266.1);
Tailwind
colors: {
  custom: {
    50: '#595a85',
    500: '#0e1f54',
    950: '#000000',
  },
}
SCSS
$custom: #0e1f54;
$custom-light: #595a85;
$custom-dark: #000000;
JSON
{
  "hex": "#0e1f54",
  "rgb": {
    "r": 14,
    "g": 31,
    "b": 84
  },
  "hsl": {
    "h": 225.429,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.26341,
    "c": 0.0991,
    "h": 266.1
  },
  "luminance": 0.01713
}

Semantic roles & 50–950 ramp

primary
#0E1F54
secondary
#8E772F
accent
#C23AEE
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #0E1F54

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

Preview Lab → · Contrast checker → · Palette generator →

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