#0E2C56#0E2C56

#0E2C56 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.7% C 0.084 H 257.6°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#0E2C56
RGBrgb(14, 44, 86)
HSLhsl(215, 72%, 20%)
HSVhsv(215, 84%, 34%)
CMYKcmyk(83.7%, 48.8%, 0%, 66.3%)
CIE-LABlab(18.22, 6.22, -28.62)
CIE-LCHlch(18.22, 29.28, 282.26°)
OKLaboklab(29.68% -0.018 -0.082)
OKLCHoklch(29.68% 0.084 257.6)
XYZxyz(2.7609, 2.5663, 9.1521)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2C56 #56380E
analogous
#0E5056 #0E2C56 #140E56
triadic
#0E2C56 #560E2C #2C560E
tetradic
#0E2C56 #560E50 #56380E #0E5614
square
#0E2C56 #560E50 #56380E #0E5614
split-complementary
#0E2C56 #56140E #50560E
monochromatic
#040D1A #051121 #0E2C56 #17478B #1F62BF

Accessibility & contrast

On white

13.88
#0E2C56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#0E2C56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E2C56
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2C56#FFFFFF#000000##FFFFFF
##0E2C561.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163058
Deuteranopia (green-blind)
#072955
Tritanopia (blue-blind)
#00363C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0e2c56;
/* rgb */ color: rgb(14, 44, 86);
/* oklch */ color: oklch(29.7% 0.084 257.6);
Tailwind
colors: {
  custom: {
    50: '#596486',
    500: '#0e2c56',
    950: '#000000',
  },
}
SCSS
$custom: #0e2c56;
$custom-light: #596486;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2c56",
  "rgb": {
    "r": 14,
    "g": 44,
    "b": 86
  },
  "hsl": {
    "h": 215,
    "s": 72,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29677,
    "c": 0.08401,
    "h": 257.6
  },
  "luminance": 0.02567
}

Semantic roles & 50–950 ramp

primary
#0E2C56
secondary
#906830
accent
#A339EF
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #0E2C56

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

Preview Lab → · Contrast checker → · Palette generator →

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