#0E284E#0E284E

#0E284E is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.0% C 0.077 H 258.1°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#0E284E
RGBrgb(14, 40, 78)
HSLhsl(216, 70%, 18%)
HSVhsv(216, 82%, 31%)
CMYKcmyk(82.1%, 48.7%, 0%, 69.4%)
CIE-LABlab(16.31, 5.66, -26.28)
CIE-LCHlch(16.31, 26.89, 282.16°)
OKLaboklab(28.02% -0.0158 -0.0753)
OKLCHoklch(28.02% 0.077 258.1)
XYZxyz(2.3145, 2.1607, 7.5013)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E284E #4E340E
analogous
#0E484E #0E284E #140E4E
triadic
#0E284E #4E0E28 #284E0E
tetradic
#0E284E #4E0E48 #4E340E #0E4E14
square
#0E284E #4E0E48 #4E340E #0E4E14
split-complementary
#0E284E #4E140E #484E0E
monochromatic
#050D1A #050D1A #0E284E #174382 #215DB6

Accessibility & contrast

On white

14.66
#0E284E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#0E284E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E284E
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E284E#FFFFFF#000000##FFFFFF
##0E284E1.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152C4F
Deuteranopia (green-blind)
#08264D
Tritanopia (blue-blind)
#003137
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0e284e;
/* rgb */ color: rgb(14, 40, 78);
/* oklch */ color: oklch(28.0% 0.077 258.1);
Tailwind
colors: {
  custom: {
    50: '#576180',
    500: '#0e284e',
    950: '#000000',
  },
}
SCSS
$custom: #0e284e;
$custom-light: #576180;
$custom-dark: #000000;
JSON
{
  "hex": "#0e284e",
  "rgb": {
    "r": 14,
    "g": 40,
    "b": 78
  },
  "hsl": {
    "h": 215.625,
    "s": 69.565,
    "l": 18.039
  },
  "oklch": {
    "l": 0.28019,
    "c": 0.07691,
    "h": 258.1
  },
  "luminance": 0.02161
}

Semantic roles & 50–950 ramp

primary
#0E284E
secondary
#89642F
accent
#A43BEC
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #0E284E

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

Preview Lab → · Contrast checker → · Palette generator →

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