#0E2056#0E2056

#0E2056 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.8% C 0.101 H 265.8°. Best body text is #FFFFFF at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#0E2056
RGBrgb(14, 32, 86)
HSLhsl(225, 72%, 20%)
HSVhsv(225, 84%, 34%)
CMYKcmyk(83.7%, 62.8%, 0%, 66.3%)
CIE-LABlab(14.39, 15.22, -34.80)
CIE-LCHlch(14.39, 37.99, 293.62°)
OKLaboklab(26.76% -0.0075 -0.1005)
OKLCHoklch(26.76% 0.101 265.8)
XYZxyz(2.3767, 1.7980, 9.0241)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2056 #56440E
analogous
#0E4456 #0E2056 #200E56
triadic
#0E2056 #560E20 #20560E
tetradic
#0E2056 #560E44 #56440E #0E5620
square
#0E2056 #560E44 #56440E #0E5620
split-complementary
#0E2056 #56200E #44560E
monochromatic
#040A1A #050C21 #0E2056 #17348B #1F47BF

Accessibility & contrast

On white

15.45
#0E2056 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#0E2056 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E2056
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2056#FFFFFF#000000##FFFFFF
##0E20561.0015.451.3615.45
#FFFFFF15.451.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002858
Deuteranopia (green-blind)
#002155
Tritanopia (blue-blind)
#002E37
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #0e2056;
/* rgb */ color: rgb(14, 32, 86);
/* oklch */ color: oklch(26.8% 0.101 265.8);
Tailwind
colors: {
  custom: {
    50: '#5a5b86',
    500: '#0e2056',
    950: '#000000',
  },
}
SCSS
$custom: #0e2056;
$custom-light: #5a5b86;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2056",
  "rgb": {
    "r": 14,
    "g": 32,
    "b": 86
  },
  "hsl": {
    "h": 225,
    "s": 72,
    "l": 19.608
  },
  "oklch": {
    "l": 0.26762,
    "c": 0.10078,
    "h": 265.8
  },
  "luminance": 0.01798
}

Semantic roles & 50–950 ramp

primary
#0E2056
secondary
#907830
accent
#C139EF
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0E2056

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

Preview Lab → · Contrast checker → · Palette generator →

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