#122553#122553

#122553 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 27.9% C 0.088 H 264.5°. Best body text is #FFFFFF at 14.84:1 contrast (WCAG AA passes).

Color values

HEX#122553
RGBrgb(18, 37, 83)
HSLhsl(222, 64%, 20%)
HSVhsv(222, 78%, 33%)
CMYKcmyk(78.3%, 55.4%, 0%, 67.5%)
CIE-LABlab(15.88, 10.72, -30.35)
CIE-LCHlch(15.88, 32.19, 289.45°)
OKLaboklab(27.86% -0.0084 -0.0872)
OKLCHoklch(27.86% 0.088 264.5)
XYZxyz(2.4718, 2.0760, 8.4524)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122553 #534012
analogous
#124553 #122553 #201253
triadic
#122553 #531225 #255312
tetradic
#122553 #531245 #534012 #125320
square
#122553 #531245 #534012 #125320
split-complementary
#122553 #532012 #455312
monochromatic
#050B19 #070F21 #122553 #1D3B85 #2852B8

Accessibility & contrast

On white

14.84
#122553 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#122553 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122553
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122553#FFFFFF#000000##FFFFFF
##1225531.0014.841.4214.84
#FFFFFF14.841.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092B55
Deuteranopia (green-blind)
#002552
Tritanopia (blue-blind)
#003038
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #122553;
/* rgb */ color: rgb(18, 37, 83);
/* oklch */ color: oklch(27.9% 0.088 264.5);
Tailwind
colors: {
  custom: {
    50: '#5a5f84',
    500: '#122553',
    950: '#000000',
  },
}
SCSS
$custom: #122553;
$custom-light: #5a5f84;
$custom-dark: #000000;
JSON
{
  "hex": "#122553",
  "rgb": {
    "r": 18,
    "g": 37,
    "b": 83
  },
  "hsl": {
    "h": 222.462,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.27861,
    "c": 0.08762,
    "h": 264.5
  },
  "luminance": 0.02076
}

Semantic roles & 50–950 ramp

primary
#122553
secondary
#8C7235
accent
#B740E7
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #122553

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

Preview Lab → · Contrast checker → · Palette generator →

#122553 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva