#0E225B#0E225B

#0E225B is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.7% C 0.106 H 265.2°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#0E225B
RGBrgb(14, 34, 91)
HSLhsl(224, 73%, 21%)
HSVhsv(224, 85%, 36%)
CMYKcmyk(84.6%, 62.6%, 0%, 64.3%)
CIE-LABlab(15.45, 15.89, -36.44)
CIE-LCHlch(15.45, 39.75, 293.56°)
OKLaboklab(27.7% -0.0088 -0.1053)
OKLCHoklch(27.7% 0.106 265.2)
XYZxyz(2.6408, 1.9924, 10.1409)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E225B #5B470E
analogous
#0E485B #0E225B #210E5B
triadic
#0E225B #5B0E22 #225B0E
tetradic
#0E225B #5B0E48 #5B470E #0E5B21
square
#0E225B #5B0E48 #5B470E #0E5B21
split-complementary
#0E225B #5B210E #485B0E
monochromatic
#040A1B #060E26 #0E225B #163690 #1E4AC5

Accessibility & contrast

On white

15.02
#0E225B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#0E225B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E225B
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E225B#FFFFFF#000000##FFFFFF
##0E225B1.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5D
Deuteranopia (green-blind)
#00235A
Tritanopia (blue-blind)
#00303A
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0e225b;
/* rgb */ color: rgb(14, 34, 91);
/* oklch */ color: oklch(27.7% 0.106 265.2);
Tailwind
colors: {
  custom: {
    50: '#5b5c8a',
    500: '#0e225b',
    950: '#000000',
  },
}
SCSS
$custom: #0e225b;
$custom-light: #5b5c8a;
$custom-dark: #000000;
JSON
{
  "hex": "#0e225b",
  "rgb": {
    "r": 14,
    "g": 34,
    "b": 91
  },
  "hsl": {
    "h": 224.416,
    "s": 73.333,
    "l": 20.588
  },
  "oklch": {
    "l": 0.27697,
    "c": 0.10562,
    "h": 265.2
  },
  "luminance": 0.01993
}

Semantic roles & 50–950 ramp

primary
#0E225B
secondary
#957B30
accent
#C038F0
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04040C
muted
#79797D

Preview Lab

Preview with #0E225B

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

Preview Lab → · Contrast checker → · Palette generator →

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