#0E2A52#0E2A52

#0E2A52 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 28.8% C 0.080 H 257.9°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#0E2A52
RGBrgb(14, 42, 82)
HSLhsl(215, 71%, 19%)
HSVhsv(215, 83%, 32%)
CMYKcmyk(82.9%, 48.8%, 0%, 67.8%)
CIE-LABlab(17.26, 5.94, -27.46)
CIE-LCHlch(17.26, 28.09, 282.20°)
OKLaboklab(28.85% -0.0169 -0.0787)
OKLCHoklch(28.85% 0.08 257.9)
XYZxyz(2.5315, 2.3582, 8.3028)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2A52 #52360E
analogous
#0E4C52 #0E2A52 #140E52
triadic
#0E2A52 #520E2A #2A520E
tetradic
#0E2A52 #520E4C #52360E #0E5214
square
#0E2A52 #520E4C #52360E #0E5214
split-complementary
#0E2A52 #52140E #4C520E
monochromatic
#040D1A #050F1E #0E2A52 #174586 #2060BB

Accessibility & contrast

On white

14.27
#0E2A52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0E2A52
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2A52#FFFFFF#000000##FFFFFF
##0E2A521.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152E54
Deuteranopia (green-blind)
#082851
Tritanopia (blue-blind)
#00333A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0e2a52;
/* rgb */ color: rgb(14, 42, 82);
/* oklch */ color: oklch(28.8% 0.080 257.9);
Tailwind
colors: {
  custom: {
    50: '#586383',
    500: '#0e2a52',
    950: '#000000',
  },
}
SCSS
$custom: #0e2a52;
$custom-light: #586383;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2a52",
  "rgb": {
    "r": 14,
    "g": 42,
    "b": 82
  },
  "hsl": {
    "h": 215.294,
    "s": 70.833,
    "l": 18.824
  },
  "oklch": {
    "l": 0.2885,
    "c": 0.08048,
    "h": 257.9
  },
  "luminance": 0.02358
}

Semantic roles & 50–950 ramp

primary
#0E2A52
secondary
#8C662F
accent
#A43AEE
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050A
muted
#79797C

Preview Lab

Preview with #0E2A52

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

Preview Lab → · Contrast checker → · Palette generator →

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