#0E2852#0E2852

#0E2852 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.3% C 0.083 H 259.6°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#0E2852
RGBrgb(14, 40, 82)
HSLhsl(217, 71%, 19%)
HSVhsv(217, 83%, 32%)
CMYKcmyk(82.9%, 51.2%, 0%, 67.8%)
CIE-LABlab(16.60, 7.42, -28.52)
CIE-LCHlch(16.60, 29.47, 284.59°)
OKLaboklab(28.34% -0.015 -0.0819)
OKLCHoklch(28.34% 0.083 259.6)
XYZxyz(2.4623, 2.2199, 8.2797)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2852 #52380E
analogous
#0E4A52 #0E2852 #160E52
triadic
#0E2852 #520E28 #28520E
tetradic
#0E2852 #520E4A #52380E #0E5216
square
#0E2852 #520E4A #52380E #0E5216
split-complementary
#0E2852 #52160E #4A520E
monochromatic
#040D1A #050F1E #0E2852 #174286 #205BBB

Accessibility & contrast

On white

14.54
#0E2852 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#0E2852 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E2852
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2852#FFFFFF#000000##FFFFFF
##0E28521.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112C54
Deuteranopia (green-blind)
#022651
Tritanopia (blue-blind)
#003239
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0e2852;
/* rgb */ color: rgb(14, 40, 82);
/* oklch */ color: oklch(28.3% 0.083 259.6);
Tailwind
colors: {
  custom: {
    50: '#586183',
    500: '#0e2852',
    950: '#000000',
  },
}
SCSS
$custom: #0e2852;
$custom-light: #586183;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2852",
  "rgb": {
    "r": 14,
    "g": 40,
    "b": 82
  },
  "hsl": {
    "h": 217.059,
    "s": 70.833,
    "l": 18.824
  },
  "oklch": {
    "l": 0.28338,
    "c": 0.08322,
    "h": 259.6
  },
  "luminance": 0.0222
}

Semantic roles & 50–950 ramp

primary
#0E2852
secondary
#8C692F
accent
#A93AEE
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04050A
muted
#79797C

Preview Lab

Preview with #0E2852

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

Preview Lab → · Contrast checker → · Palette generator →

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