#0E2954#0E2954

#0E2954 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.8% C 0.085 H 259.5°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#0E2954
RGBrgb(14, 41, 84)
HSLhsl(217, 71%, 19%)
HSVhsv(217, 83%, 33%)
CMYKcmyk(83.3%, 51.2%, 0%, 67.1%)
CIE-LABlab(17.08, 7.56, -29.10)
CIE-LCHlch(17.08, 30.07, 284.56°)
OKLaboklab(28.75% -0.0155 -0.0835)
OKLCHoklch(28.75% 0.085 259.5)
XYZxyz(2.5737, 2.3190, 8.6978)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2954 #54390E
analogous
#0E4C54 #0E2954 #160E54
triadic
#0E2954 #540E29 #29540E
tetradic
#0E2954 #540E4C #54390E #0E5416
square
#0E2954 #540E4C #54390E #0E5416
split-complementary
#0E2954 #54160E #4C540E
monochromatic
#040D1A #050F20 #0E2954 #174388 #1F5CBD

Accessibility & contrast

On white

14.35
#0E2954 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#0E2954 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E2954
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2954#FFFFFF#000000##FFFFFF
##0E29541.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122D56
Deuteranopia (green-blind)
#022753
Tritanopia (blue-blind)
#00333A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0e2954;
/* rgb */ color: rgb(14, 41, 84);
/* oklch */ color: oklch(28.8% 0.085 259.5);
Tailwind
colors: {
  custom: {
    50: '#596284',
    500: '#0e2954',
    950: '#000000',
  },
}
SCSS
$custom: #0e2954;
$custom-light: #596284;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2954",
  "rgb": {
    "r": 14,
    "g": 41,
    "b": 84
  },
  "hsl": {
    "h": 216.857,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.28754,
    "c": 0.08497,
    "h": 259.5
  },
  "luminance": 0.02319
}

Semantic roles & 50–950 ramp

primary
#0E2954
secondary
#8E6A2F
accent
#A93AEE
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #0E2954

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

Preview Lab → · Contrast checker → · Palette generator →

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