#0E2A56#0E2A56

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

Color values

HEX#0E2A56
RGBrgb(14, 42, 86)
HSLhsl(217, 72%, 20%)
HSVhsv(217, 84%, 34%)
CMYKcmyk(83.7%, 51.2%, 0%, 66.3%)
CIE-LABlab(17.56, 7.70, -29.68)
CIE-LCHlch(17.56, 30.66, 284.54°)
OKLaboklab(29.17% -0.0161 -0.0852)
OKLCHoklch(29.17% 0.087 259.3)
XYZxyz(2.6882, 2.4209, 9.1279)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2A56 #563A0E
analogous
#0E4E56 #0E2A56 #160E56
triadic
#0E2A56 #560E2A #2A560E
tetradic
#0E2A56 #560E4E #563A0E #0E5616
square
#0E2A56 #560E4E #563A0E #0E5616
split-complementary
#0E2A56 #56160E #4E560E
monochromatic
#040D1A #051021 #0E2A56 #17448B #1F5DBF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0E2A56#FFFFFF#000000##FFFFFF
##0E2A561.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)
#122F58
Deuteranopia (green-blind)
#012855
Tritanopia (blue-blind)
#00343B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0e2a56;
/* rgb */ color: rgb(14, 42, 86);
/* oklch */ color: oklch(29.2% 0.087 259.3);
Tailwind
colors: {
  custom: {
    50: '#596386',
    500: '#0e2a56',
    950: '#000000',
  },
}
SCSS
$custom: #0e2a56;
$custom-light: #596386;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2a56",
  "rgb": {
    "r": 14,
    "g": 42,
    "b": 86
  },
  "hsl": {
    "h": 216.667,
    "s": 72,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29169,
    "c": 0.08672,
    "h": 259.3
  },
  "luminance": 0.02421
}

Semantic roles & 50–950 ramp

primary
#0E2A56
secondary
#906B30
accent
#A839EF
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #0E2A56

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

Preview Lab → · Contrast checker → · Palette generator →

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