#0E285F#0E285F

#0E285F is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.5% C 0.103 H 262.7°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#0E285F
RGBrgb(14, 40, 95)
HSLhsl(221, 74%, 21%)
HSVhsv(221, 85%, 37%)
CMYKcmyk(85.3%, 57.9%, 0%, 62.7%)
CIE-LABlab(17.63, 13.14, -35.55)
CIE-LCHlch(17.63, 37.90, 290.29°)
OKLaboklab(29.45% -0.0131 -0.1025)
OKLCHoklch(29.45% 0.103 262.7)
XYZxyz(3.0047, 2.4368, 11.1362)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E285F #5F450E
analogous
#0E515F #0E285F #1D0E5F
triadic
#0E285F #5F0E28 #285F0E
tetradic
#0E285F #5F0E51 #5F450E #0E5F1D
square
#0E285F #5F0E51 #5F450E #0E5F1D
split-complementary
#0E285F #5F1D0E #515F0E
monochromatic
#040B1B #06122A #0E285F #163E94 #1E55CA

Accessibility & contrast

On white

14.12
#0E285F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#0E285F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E285F
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E285F#FFFFFF#000000##FFFFFF
##0E285F1.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F61
Deuteranopia (green-blind)
#00285E
Tritanopia (blue-blind)
#00363F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0e285f;
/* rgb */ color: rgb(14, 40, 95);
/* oklch */ color: oklch(29.5% 0.103 262.7);
Tailwind
colors: {
  custom: {
    50: '#5c618d',
    500: '#0e285f',
    950: '#000000',
  },
}
SCSS
$custom: #0e285f;
$custom-light: #5c618d;
$custom-dark: #000000;
JSON
{
  "hex": "#0e285f",
  "rgb": {
    "r": 14,
    "g": 40,
    "b": 95
  },
  "hsl": {
    "h": 220.741,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.29451,
    "c": 0.10336,
    "h": 262.7
  },
  "luminance": 0.02437
}

Semantic roles & 50–950 ramp

primary
#0E285F
secondary
#997730
accent
#B537F1
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #0E285F

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

Preview Lab → · Contrast checker → · Palette generator →

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