#122060#122060

#122060 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.9% C 0.115 H 268.2°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#122060
RGBrgb(18, 32, 96)
HSLhsl(229, 68%, 22%)
HSVhsv(229, 81%, 38%)
CMYKcmyk(81.3%, 66.7%, 0%, 62.4%)
CIE-LABlab(15.52, 19.97, -39.65)
CIE-LCHlch(15.52, 44.39, 296.73°)
OKLaboklab(27.95% -0.0035 -0.1146)
OKLCHoklch(27.95% 0.115 268.2)
XYZxyz(2.8766, 2.0058, 11.2996)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122060 #605212
analogous
#124760 #122060 #2B1260
triadic
#122060 #601220 #206012
tetradic
#122060 #601247 #605212 #12602B
square
#122060 #601247 #605212 #12602B
split-complementary
#122060 #602B12 #476012
monochromatic
#05091A #080F2C #122060 #1C3194 #2542C7

Accessibility & contrast

On white

14.99
#122060 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122060
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122060#FFFFFF#000000##FFFFFF
##1220601.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B62
Deuteranopia (green-blind)
#00235F
Tritanopia (blue-blind)
#00313C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #122060;
/* rgb */ color: rgb(18, 32, 96);
/* oklch */ color: oklch(27.9% 0.115 268.2);
Tailwind
colors: {
  custom: {
    50: '#5e5b8e',
    500: '#122060',
    950: '#000000',
  },
}
SCSS
$custom: #122060;
$custom-light: #5e5b8e;
$custom-dark: #000000;
JSON
{
  "hex": "#122060",
  "rgb": {
    "r": 18,
    "g": 32,
    "b": 96
  },
  "hsl": {
    "h": 229.231,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.27946,
    "c": 0.11467,
    "h": 268.2
  },
  "luminance": 0.02006
}

Semantic roles & 50–950 ramp

primary
#122060
secondary
#988636
accent
#CC3DEB
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #122060

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

Preview Lab → · Contrast checker → · Palette generator →

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