#0E2854#0E2854

#0E2854 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.5% C 0.086 H 260.3°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#0E2854
RGBrgb(14, 40, 84)
HSLhsl(218, 71%, 19%)
HSVhsv(218, 83%, 33%)
CMYKcmyk(83.3%, 52.4%, 0%, 67.1%)
CIE-LABlab(16.75, 8.31, -29.63)
CIE-LCHlch(16.75, 30.77, 285.66°)
OKLaboklab(28.5% -0.0146 -0.0851)
OKLCHoklch(28.5% 0.086 260.3)
XYZxyz(2.5395, 2.2507, 8.6864)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2854 #543A0E
analogous
#0E4B54 #0E2854 #170E54
triadic
#0E2854 #540E28 #28540E
tetradic
#0E2854 #540E4B #543A0E #0E5417
square
#0E2854 #540E4B #543A0E #0E5417
split-complementary
#0E2854 #54170E #4B540E
monochromatic
#040C1A #050F20 #0E2854 #174188 #1F5ABD

Accessibility & contrast

On white

14.48
#0E2854 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#0E2854 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E2854
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2854#FFFFFF#000000##FFFFFF
##0E28541.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2D56
Deuteranopia (green-blind)
#002653
Tritanopia (blue-blind)
#00323A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0e2854;
/* rgb */ color: rgb(14, 40, 84);
/* oklch */ color: oklch(28.5% 0.086 260.3);
Tailwind
colors: {
  custom: {
    50: '#596184',
    500: '#0e2854',
    950: '#000000',
  },
}
SCSS
$custom: #0e2854;
$custom-light: #596184;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2854",
  "rgb": {
    "r": 14,
    "g": 40,
    "b": 84
  },
  "hsl": {
    "h": 217.714,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.28502,
    "c": 0.08636,
    "h": 260.3
  },
  "luminance": 0.02251
}

Semantic roles & 50–950 ramp

primary
#0E2854
secondary
#8E6B2F
accent
#AB3AEE
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #0E2854

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

Preview Lab → · Contrast checker → · Palette generator →

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