#0E408D#0E408D

#0E408D is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.0% C 0.138 H 259.6°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#0E408D
RGBrgb(14, 64, 141)
HSLhsl(216, 82%, 30%)
HSVhsv(216, 90%, 55%)
CMYKcmyk(90.1%, 54.6%, 0%, 44.7%)
CIE-LABlab(28.60, 15.55, -47.08)
CIE-LCHlch(28.60, 49.58, 288.28°)
OKLaboklab(38.96% -0.025 -0.1359)
OKLCHoklch(38.96% 0.138 259.6)
XYZxyz(6.8205, 5.6824, 25.9315)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E408D #8D5B0E
analogous
#0E7F8D #0E408D #1C0E8D
triadic
#0E408D #8D0E40 #408D0E
tetradic
#0E408D #8D0E7F #8D5B0E #0E8D1C
square
#0E408D #8D0E7F #8D5B0E #0E8D1C
split-complementary
#0E408D #8D1C0E #7F8D0E
monochromatic
#030D1E #082755 #0E408D #1459C5 #2B76EA

Accessibility & contrast

On white

9.83
#0E408D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#0E408D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E408D
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E408D#FFFFFF#000000##FFFFFF
##0E408D1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004990
Deuteranopia (green-blind)
#003E8C
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #0e408d;
/* rgb */ color: rgb(14, 64, 141);
/* oklch */ color: oklch(39.0% 0.138 259.6);
Tailwind
colors: {
  custom: {
    50: '#6874af',
    500: '#0e408d',
    950: '#000000',
  },
}
SCSS
$custom: #0e408d;
$custom-light: #6874af;
$custom-dark: #000000;
JSON
{
  "hex": "#0e408d",
  "rgb": {
    "r": 14,
    "g": 64,
    "b": 141
  },
  "hsl": {
    "h": 216.378,
    "s": 81.935,
    "l": 30.392
  },
  "oklch": {
    "l": 0.38959,
    "c": 0.13819,
    "h": 259.6
  },
  "luminance": 0.05683
}

Semantic roles & 50–950 ramp

primary
#0E408D
secondary
#C28A35
accent
#A930F8
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #0E408D

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

Preview Lab → · Contrast checker → · Palette generator →

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