#0E2257#0E2257

#0E2257 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.3% C 0.100 H 264.8°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#0E2257
RGBrgb(14, 34, 87)
HSLhsl(224, 72%, 20%)
HSVhsv(224, 84%, 34%)
CMYKcmyk(83.9%, 60.9%, 0%, 65.9%)
CIE-LABlab(15.09, 14.15, -34.34)
CIE-LCHlch(15.09, 37.14, 292.39°)
OKLaboklab(27.32% -0.009 -0.0991)
OKLCHoklch(27.32% 0.1 264.8)
XYZxyz(2.4728, 1.9253, 9.2563)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2257 #57430E
analogous
#0E4657 #0E2257 #1F0E57
triadic
#0E2257 #570E22 #22570E
tetradic
#0E2257 #570E46 #57430E #0E571F
square
#0E2257 #570E46 #57430E #0E571F
split-complementary
#0E2257 #571F0E #46570E
monochromatic
#040A1A #060D22 #0E2257 #16378C #1F4BC0

Accessibility & contrast

On white

15.16
#0E2257 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#0E2257 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E2257
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2257#FFFFFF#000000##FFFFFF
##0E22571.0015.161.3915.16
#FFFFFF15.161.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0e2257;
/* rgb */ color: rgb(14, 34, 87);
/* oklch */ color: oklch(27.3% 0.100 264.8);
Tailwind
colors: {
  custom: {
    50: '#5a5c87',
    500: '#0e2257',
    950: '#000000',
  },
}
SCSS
$custom: #0e2257;
$custom-light: #5a5c87;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2257",
  "rgb": {
    "r": 14,
    "g": 34,
    "b": 87
  },
  "hsl": {
    "h": 223.562,
    "s": 72.277,
    "l": 19.804
  },
  "oklch": {
    "l": 0.27316,
    "c": 0.0995,
    "h": 264.8
  },
  "luminance": 0.01926
}

Semantic roles & 50–950 ramp

primary
#0E2257
secondary
#917630
accent
#BD39EF
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0E2257

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

Preview Lab → · Contrast checker → · Palette generator →

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