#122C55#122C55

#122C55 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.8% C 0.081 H 259.2°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#122C55
RGBrgb(18, 44, 85)
HSLhsl(217, 65%, 20%)
HSVhsv(217, 79%, 33%)
CMYKcmyk(78.8%, 48.2%, 0%, 66.7%)
CIE-LABlab(18.30, 6.37, -27.80)
CIE-LCHlch(18.30, 28.52, 282.91°)
OKLaboklab(29.76% -0.0151 -0.0796)
OKLCHoklch(29.76% 0.081 259.2)
XYZxyz(2.7892, 2.5855, 8.9446)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122C55 #553B12
analogous
#124E55 #122C55 #191255
triadic
#122C55 #55122C #2C5512
tetradic
#122C55 #55124E #553B12 #125519
square
#122C55 #55124E #553B12 #125519
split-complementary
#122C55 #551912 #4E5512
monochromatic
#050D19 #071222 #122C55 #1D4688 #2760BA

Accessibility & contrast

On white

13.84
#122C55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#122C55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122C55
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122C55#FFFFFF#000000##FFFFFF
##122C551.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173057
Deuteranopia (green-blind)
#0B2A54
Tritanopia (blue-blind)
#00363C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #122c55;
/* rgb */ color: rgb(18, 44, 85);
/* oklch */ color: oklch(29.8% 0.081 259.2);
Tailwind
colors: {
  custom: {
    50: '#5a6485',
    500: '#122c55',
    950: '#000000',
  },
}
SCSS
$custom: #122c55;
$custom-light: #5a6485;
$custom-dark: #000000;
JSON
{
  "hex": "#122c55",
  "rgb": {
    "r": 18,
    "g": 44,
    "b": 85
  },
  "hsl": {
    "h": 216.716,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.29764,
    "c": 0.08102,
    "h": 259.2
  },
  "luminance": 0.02586
}

Semantic roles & 50–950 ramp

primary
#122C55
secondary
#8E6B35
accent
#A740E8
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #122C55

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

Preview Lab → · Contrast checker → · Palette generator →

#122C55 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva