#122453#122453

#122453 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.6% C 0.089 H 265.2°. Best body text is #FFFFFF at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#122453
RGBrgb(18, 36, 83)
HSLhsl(223, 64%, 20%)
HSVhsv(223, 78%, 33%)
CMYKcmyk(78.3%, 56.6%, 0%, 67.5%)
CIE-LABlab(15.56, 11.47, -30.86)
CIE-LCHlch(15.56, 32.92, 290.39°)
OKLaboklab(27.62% -0.0074 -0.0887)
OKLCHoklch(27.62% 0.089 265.2)
XYZxyz(2.4411, 2.0146, 8.4421)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122453 #534112
analogous
#124453 #122453 #211253
triadic
#122453 #531224 #245312
tetradic
#122453 #531244 #534112 #125321
square
#122453 #531244 #534112 #125321
split-complementary
#122453 #532112 #445312
monochromatic
#050B19 #070E21 #122453 #1D3A85 #2850B8

Accessibility & contrast

On white

14.97
#122453 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#122453 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122453
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122453#FFFFFF#000000##FFFFFF
##1224531.0014.971.4014.97
#FFFFFF14.971.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062A55
Deuteranopia (green-blind)
#002452
Tritanopia (blue-blind)
#002F37
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #122453;
/* rgb */ color: rgb(18, 36, 83);
/* oklch */ color: oklch(27.6% 0.089 265.2);
Tailwind
colors: {
  custom: {
    50: '#5a5e84',
    500: '#122453',
    950: '#000000',
  },
}
SCSS
$custom: #122453;
$custom-light: #5a5e84;
$custom-dark: #000000;
JSON
{
  "hex": "#122453",
  "rgb": {
    "r": 18,
    "g": 36,
    "b": 83
  },
  "hsl": {
    "h": 223.385,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.2762,
    "c": 0.08906,
    "h": 265.2
  },
  "luminance": 0.02015
}

Semantic roles & 50–950 ramp

primary
#122453
secondary
#8C7435
accent
#B940E7
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #122453

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

Preview Lab → · Contrast checker → · Palette generator →

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