#0E2256#0E2256

#0E2256 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.2% C 0.098 H 264.7°. Best body text is #FFFFFF at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#0E2256
RGBrgb(14, 34, 86)
HSLhsl(223, 72%, 20%)
HSVhsv(223, 84%, 34%)
CMYKcmyk(83.7%, 60.5%, 0%, 66.3%)
CIE-LABlab(15.00, 13.71, -33.81)
CIE-LCHlch(15.00, 36.48, 292.08°)
OKLaboklab(27.22% -0.0091 -0.0975)
OKLCHoklch(27.22% 0.098 264.7)
XYZxyz(2.4322, 1.9090, 9.0426)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2256 #56420E
analogous
#0E4656 #0E2256 #1E0E56
triadic
#0E2256 #560E22 #22560E
tetradic
#0E2256 #560E46 #56420E #0E561E
square
#0E2256 #560E46 #56420E #0E561E
split-complementary
#0E2256 #561E0E #46560E
monochromatic
#040A1A #050D21 #0E2256 #17378B #1F4CBF

Accessibility & contrast

On white

15.20
#0E2256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#0E2256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E2256
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2256#FFFFFF#000000##FFFFFF
##0E22561.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002958
Deuteranopia (green-blind)
#002355
Tritanopia (blue-blind)
#002F38
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0e2256;
/* rgb */ color: rgb(14, 34, 86);
/* oklch */ color: oklch(27.2% 0.098 264.7);
Tailwind
colors: {
  custom: {
    50: '#5a5c86',
    500: '#0e2256',
    950: '#000000',
  },
}
SCSS
$custom: #0e2256;
$custom-light: #5a5c86;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2256",
  "rgb": {
    "r": 14,
    "g": 34,
    "b": 86
  },
  "hsl": {
    "h": 223.333,
    "s": 72,
    "l": 19.608
  },
  "oklch": {
    "l": 0.27223,
    "c": 0.09795,
    "h": 264.7
  },
  "luminance": 0.01909
}

Semantic roles & 50–950 ramp

primary
#0E2256
secondary
#907530
accent
#BC39EF
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0E2256

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

Preview Lab → · Contrast checker → · Palette generator →

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