#0E2254#0E2254

#0E2254 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.0% C 0.095 H 264.4°. Best body text is #FFFFFF at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#0E2254
RGBrgb(14, 34, 84)
HSLhsl(223, 71%, 19%)
HSVhsv(223, 83%, 33%)
CMYKcmyk(83.3%, 59.5%, 0%, 67.1%)
CIE-LABlab(14.83, 12.84, -32.74)
CIE-LCHlch(14.83, 35.16, 291.41°)
OKLaboklab(27.04% -0.0092 -0.0944)
OKLCHoklch(27.04% 0.095 264.4)
XYZxyz(2.3528, 1.8772, 8.6241)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2254 #54400E
analogous
#0E4554 #0E2254 #1D0E54
triadic
#0E2254 #540E22 #22540E
tetradic
#0E2254 #540E45 #54400E #0E541D
square
#0E2254 #540E45 #54400E #0E541D
split-complementary
#0E2254 #541D0E #45540E
monochromatic
#040B1A #050D20 #0E2254 #173788 #1F4CBD

Accessibility & contrast

On white

15.27
#0E2254 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0E2254
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2254#FFFFFF#000000##FFFFFF
##0E22541.0015.271.3815.27
#FFFFFF15.271.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002956
Deuteranopia (green-blind)
#002253
Tritanopia (blue-blind)
#002E37
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0e2254;
/* rgb */ color: rgb(14, 34, 84);
/* oklch */ color: oklch(27.0% 0.095 264.4);
Tailwind
colors: {
  custom: {
    50: '#595c85',
    500: '#0e2254',
    950: '#000000',
  },
}
SCSS
$custom: #0e2254;
$custom-light: #595c85;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2254",
  "rgb": {
    "r": 14,
    "g": 34,
    "b": 84
  },
  "hsl": {
    "h": 222.857,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.27038,
    "c": 0.09484,
    "h": 264.4
  },
  "luminance": 0.01878
}

Semantic roles & 50–950 ramp

primary
#0E2254
secondary
#8E732F
accent
#BB3AEE
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0E2254

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

Preview Lab → · Contrast checker → · Palette generator →

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