#0E285A#0E285A

#0E285A is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.0% C 0.096 H 261.8°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#0E285A
RGBrgb(14, 40, 90)
HSLhsl(219, 73%, 20%)
HSVhsv(219, 84%, 35%)
CMYKcmyk(84.4%, 55.6%, 0%, 64.7%)
CIE-LABlab(17.22, 10.95, -32.89)
CIE-LCHlch(17.22, 34.67, 288.41°)
OKLaboklab(29.01% -0.0137 -0.0947)
OKLCHoklch(29.01% 0.096 261.8)
XYZxyz(2.7847, 2.3488, 9.9775)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E285A #5A400E
analogous
#0E4E5A #0E285A #1A0E5A
triadic
#0E285A #5A0E28 #285A0E
tetradic
#0E285A #5A0E4E #5A400E #0E5A1A
square
#0E285A #5A0E4E #5A400E #0E5A1A
split-complementary
#0E285A #5A1A0E #4E5A0E
monochromatic
#040C1A #061025 #0E285A #16408F #1E57C4

Accessibility & contrast

On white

14.29
#0E285A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#0E285A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E285A
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E285A#FFFFFF#000000##FFFFFF
##0E285A1.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072E5C
Deuteranopia (green-blind)
#002759
Tritanopia (blue-blind)
#00343C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0e285a;
/* rgb */ color: rgb(14, 40, 90);
/* oklch */ color: oklch(29.0% 0.096 261.8);
Tailwind
colors: {
  custom: {
    50: '#5a6189',
    500: '#0e285a',
    950: '#000000',
  },
}
SCSS
$custom: #0e285a;
$custom-light: #5a6189;
$custom-dark: #000000;
JSON
{
  "hex": "#0e285a",
  "rgb": {
    "r": 14,
    "g": 40,
    "b": 90
  },
  "hsl": {
    "h": 219.474,
    "s": 73.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.2901,
    "c": 0.09569,
    "h": 261.8
  },
  "luminance": 0.02349
}

Semantic roles & 50–950 ramp

primary
#0E285A
secondary
#947230
accent
#B138F0
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04050B
muted
#79797C

Preview Lab

Preview with #0E285A

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

Preview Lab → · Contrast checker → · Palette generator →

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