#0E2754#0E2754

#0E2754 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.3% C 0.088 H 261.0°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#0E2754
RGBrgb(14, 39, 84)
HSLhsl(219, 71%, 19%)
HSVhsv(219, 83%, 33%)
CMYKcmyk(83.3%, 53.6%, 0%, 67.1%)
CIE-LABlab(16.43, 9.06, -30.15)
CIE-LCHlch(16.43, 31.49, 286.72°)
OKLaboklab(28.25% -0.0137 -0.0867)
OKLCHoklch(28.25% 0.088 261)
XYZxyz(2.5063, 2.1842, 8.6753)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2754 #543B0E
analogous
#0E4A54 #0E2754 #180E54
triadic
#0E2754 #540E27 #27540E
tetradic
#0E2754 #540E4A #543B0E #0E5418
square
#0E2754 #540E4A #543B0E #0E5418
split-complementary
#0E2754 #54180E #4A540E
monochromatic
#040C1A #050F20 #0E2754 #173F88 #1F58BD

Accessibility & contrast

On white

14.62
#0E2754 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#0E2754 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E2754
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2754#FFFFFF#000000##FFFFFF
##0E27541.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2C56
Deuteranopia (green-blind)
#002653
Tritanopia (blue-blind)
#003239
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0e2754;
/* rgb */ color: rgb(14, 39, 84);
/* oklch */ color: oklch(28.3% 0.088 261.0);
Tailwind
colors: {
  custom: {
    50: '#596084',
    500: '#0e2754',
    950: '#000000',
  },
}
SCSS
$custom: #0e2754;
$custom-light: #596084;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2754",
  "rgb": {
    "r": 14,
    "g": 39,
    "b": 84
  },
  "hsl": {
    "h": 218.571,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.28252,
    "c": 0.08775,
    "h": 261
  },
  "luminance": 0.02184
}

Semantic roles & 50–950 ramp

primary
#0E2754
secondary
#8E6C2F
accent
#AE3AEE
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0E2754

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

Preview Lab → · Contrast checker → · Palette generator →

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