#0E285E#0E285E

#0E285E is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.4% C 0.102 H 262.6°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#0E285E
RGBrgb(14, 40, 94)
HSLhsl(221, 74%, 21%)
HSVhsv(221, 85%, 37%)
CMYKcmyk(85.1%, 57.4%, 0%, 63.1%)
CIE-LABlab(17.55, 12.70, -35.02)
CIE-LCHlch(17.55, 37.25, 289.94°)
OKLaboklab(29.36% -0.0132 -0.101)
OKLCHoklch(29.36% 0.102 262.6)
XYZxyz(2.9595, 2.4187, 10.8984)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E285E #5E440E
analogous
#0E505E #0E285E #1C0E5E
triadic
#0E285E #5E0E28 #285E0E
tetradic
#0E285E #5E0E50 #5E440E #0E5E1C
square
#0E285E #5E0E50 #5E440E #0E5E1C
split-complementary
#0E285E #5E1C0E #505E0E
monochromatic
#040B1B #061129 #0E285E #163F93 #1E55C9

Accessibility & contrast

On white

14.15
#0E285E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#0E285E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E285E
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E285E#FFFFFF#000000##FFFFFF
##0E285E1.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F60
Deuteranopia (green-blind)
#00285D
Tritanopia (blue-blind)
#00353E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0e285e;
/* rgb */ color: rgb(14, 40, 94);
/* oklch */ color: oklch(29.4% 0.102 262.6);
Tailwind
colors: {
  custom: {
    50: '#5c618c',
    500: '#0e285e',
    950: '#000000',
  },
}
SCSS
$custom: #0e285e;
$custom-light: #5c618c;
$custom-dark: #000000;
JSON
{
  "hex": "#0e285e",
  "rgb": {
    "r": 14,
    "g": 40,
    "b": 94
  },
  "hsl": {
    "h": 220.5,
    "s": 74.074,
    "l": 21.176
  },
  "oklch": {
    "l": 0.29362,
    "c": 0.10184,
    "h": 262.6
  },
  "luminance": 0.02419
}

Semantic roles & 50–950 ramp

primary
#0E285E
secondary
#987630
accent
#B437F1
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #0E285E

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

Preview Lab → · Contrast checker → · Palette generator →

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