#122160#122160

#122160 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.2% C 0.113 H 267.9°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#122160
RGBrgb(18, 33, 96)
HSLhsl(228, 68%, 22%)
HSVhsv(228, 81%, 38%)
CMYKcmyk(81.3%, 65.6%, 0%, 62.4%)
CIE-LABlab(15.80, 19.23, -39.18)
CIE-LCHlch(15.80, 43.65, 296.15°)
OKLaboklab(28.16% -0.0042 -0.1132)
OKLCHoklch(28.16% 0.113 267.9)
XYZxyz(2.9039, 2.0605, 11.3087)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122160 #605112
analogous
#124860 #122160 #2A1260
triadic
#122160 #601221 #216012
tetradic
#122160 #601248 #605112 #12602A
square
#122160 #601248 #605112 #12602A
split-complementary
#122160 #602A12 #486012
monochromatic
#05091A #080F2C #122160 #1C3394 #2544C7

Accessibility & contrast

On white

14.87
#122160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#122160 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122160
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122160#FFFFFF#000000##FFFFFF
##1221601.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #122160;
/* rgb */ color: rgb(18, 33, 96);
/* oklch */ color: oklch(28.2% 0.113 267.9);
Tailwind
colors: {
  custom: {
    50: '#5e5c8e',
    500: '#122160',
    950: '#000000',
  },
}
SCSS
$custom: #122160;
$custom-light: #5e5c8e;
$custom-dark: #000000;
JSON
{
  "hex": "#122160",
  "rgb": {
    "r": 18,
    "g": 33,
    "b": 96
  },
  "hsl": {
    "h": 228.462,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.28156,
    "c": 0.11333,
    "h": 267.9
  },
  "luminance": 0.02061
}

Semantic roles & 50–950 ramp

primary
#122160
secondary
#988536
accent
#CA3DEB
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #122160

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

Preview Lab → · Contrast checker → · Palette generator →

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