#122053#122053

#122053 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.7% C 0.095 H 267.8°. Best body text is #FFFFFF at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#122053
RGBrgb(18, 32, 83)
HSLhsl(227, 64%, 20%)
HSVhsv(227, 78%, 33%)
CMYKcmyk(78.3%, 61.4%, 0%, 67.5%)
CIE-LABlab(14.32, 14.49, -32.88)
CIE-LCHlch(14.32, 35.93, 293.78°)
OKLaboklab(26.68% -0.0037 -0.0947)
OKLCHoklch(26.68% 0.095 267.8)
XYZxyz(2.3268, 1.7859, 8.4040)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122053 #534512
analogous
#124153 #122053 #251253
triadic
#122053 #531220 #205312
tetradic
#122053 #531241 #534512 #125325
square
#122053 #531241 #534512 #125325
split-complementary
#122053 #532512 #415312
monochromatic
#050A19 #070D21 #122053 #1D3385 #2847B8

Accessibility & contrast

On white

15.47
#122053 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#122053 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122053
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122053#FFFFFF#000000##FFFFFF
##1220531.0015.471.3615.47
#FFFFFF15.471.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002755
Deuteranopia (green-blind)
#002152
Tritanopia (blue-blind)
#002D36
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #122053;
/* rgb */ color: rgb(18, 32, 83);
/* oklch */ color: oklch(26.7% 0.095 267.8);
Tailwind
colors: {
  custom: {
    50: '#5a5b84',
    500: '#122053',
    950: '#000000',
  },
}
SCSS
$custom: #122053;
$custom-light: #5a5b84;
$custom-dark: #000000;
JSON
{
  "hex": "#122053",
  "rgb": {
    "r": 18,
    "g": 32,
    "b": 83
  },
  "hsl": {
    "h": 227.077,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.26682,
    "c": 0.09482,
    "h": 267.8
  },
  "luminance": 0.01786
}

Semantic roles & 50–950 ramp

primary
#122053
secondary
#8C7935
accent
#C340E7
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #122053

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

Preview Lab → · Contrast checker → · Palette generator →

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