#0E418E#0E418E

#0E418E is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.3% C 0.138 H 259.4°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#0E418E
RGBrgb(14, 65, 142)
HSLhsl(216, 82%, 31%)
HSVhsv(216, 90%, 56%)
CMYKcmyk(90.1%, 54.2%, 0%, 44.3%)
CIE-LABlab(28.97, 15.27, -47.09)
CIE-LCHlch(28.97, 49.51, 287.97°)
OKLaboklab(39.27% -0.0255 -0.1359)
OKLCHoklch(39.27% 0.138 259.4)
XYZxyz(6.9521, 5.8261, 26.3441)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E418E #8E5B0E
analogous
#0E818E #0E418E #1B0E8E
triadic
#0E418E #8E0E41 #418E0E
tetradic
#0E418E #8E0E81 #8E5B0E #0E8E1B
square
#0E418E #8E0E81 #8E5B0E #0E8E1B
split-complementary
#0E418E #8E1B0E #818E0E
monochromatic
#030E1F #092756 #0E418E #135AC6 #2C78EA

Accessibility & contrast

On white

9.70
#0E418E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#0E418E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E418E
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E418E#FFFFFF#000000##FFFFFF
##0E418E1.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034A91
Deuteranopia (green-blind)
#003F8C
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #0e418e;
/* rgb */ color: rgb(14, 65, 142);
/* oklch */ color: oklch(39.3% 0.138 259.4);
Tailwind
colors: {
  custom: {
    50: '#6874b0',
    500: '#0e418e',
    950: '#000000',
  },
}
SCSS
$custom: #0e418e;
$custom-light: #6874b0;
$custom-dark: #000000;
JSON
{
  "hex": "#0e418e",
  "rgb": {
    "r": 14,
    "g": 65,
    "b": 142
  },
  "hsl": {
    "h": 216.094,
    "s": 82.051,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39268,
    "c": 0.1383,
    "h": 259.4
  },
  "luminance": 0.05827
}

Semantic roles & 50–950 ramp

primary
#0E418E
secondary
#C38A35
accent
#A82FF8
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #0E418E

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

Preview Lab → · Contrast checker → · Palette generator →

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