#122153#122153

#122153 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.9% C 0.093 H 267.2°. Best body text is #FFFFFF at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#122153
RGBrgb(18, 33, 83)
HSLhsl(226, 64%, 20%)
HSVhsv(226, 78%, 33%)
CMYKcmyk(78.3%, 60.2%, 0%, 67.5%)
CIE-LABlab(14.63, 13.73, -32.38)
CIE-LCHlch(14.63, 35.17, 292.98°)
OKLaboklab(26.91% -0.0046 -0.0933)
OKLCHoklch(26.91% 0.093 267.2)
XYZxyz(2.3541, 1.8406, 8.4131)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122153 #534412
analogous
#124153 #122153 #241253
triadic
#122153 #531221 #215312
tetradic
#122153 #531241 #534412 #125324
square
#122153 #531241 #534412 #125324
split-complementary
#122153 #532412 #415312
monochromatic
#050A19 #070D21 #122153 #1D3585 #2849B8

Accessibility & contrast

On white

15.35
#122153 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#122153 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122153
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122153#FFFFFF#000000##FFFFFF
##1221531.0015.351.3715.35
#FFFFFF15.351.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002855
Deuteranopia (green-blind)
#002252
Tritanopia (blue-blind)
#002D36
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #122153;
/* rgb */ color: rgb(18, 33, 83);
/* oklch */ color: oklch(26.9% 0.093 267.2);
Tailwind
colors: {
  custom: {
    50: '#5a5b84',
    500: '#122153',
    950: '#000000',
  },
}
SCSS
$custom: #122153;
$custom-light: #5a5b84;
$custom-dark: #000000;
JSON
{
  "hex": "#122153",
  "rgb": {
    "r": 18,
    "g": 33,
    "b": 83
  },
  "hsl": {
    "h": 226.154,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.26912,
    "c": 0.09338,
    "h": 267.2
  },
  "luminance": 0.01841
}

Semantic roles & 50–950 ramp

primary
#122153
secondary
#8C7835
accent
#C140E7
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #122153

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

Preview Lab → · Contrast checker → · Palette generator →

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