#122C66#122C66

#122C66 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.2% C 0.107 H 263.3°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#122C66
RGBrgb(18, 44, 102)
HSLhsl(221, 70%, 24%)
HSVhsv(221, 82%, 40%)
CMYKcmyk(82.4%, 56.9%, 0%, 60%)
CIE-LABlab(19.59, 13.68, -36.96)
CIE-LCHlch(19.59, 39.41, 290.31°)
OKLaboklab(31.17% -0.0125 -0.1065)
OKLCHoklch(31.17% 0.107 263.3)
XYZxyz(3.5476, 2.8889, 12.9384)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122C66 #664C12
analogous
#125666 #122C66 #221266
triadic
#122C66 #66122C #2C6612
tetradic
#122C66 #661256 #664C12 #126622
square
#122C66 #661256 #664C12 #126622
split-complementary
#122C66 #662212 #566612
monochromatic
#050B1A #091632 #122C66 #1B429A #2459CE

Accessibility & contrast

On white

13.31
#122C66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#122C66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122C66
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122C66#FFFFFF#000000##FFFFFF
##122C661.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013368
Deuteranopia (green-blind)
#002C65
Tritanopia (blue-blind)
#003A44
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #122c66;
/* rgb */ color: rgb(18, 44, 102);
/* oklch */ color: oklch(31.2% 0.107 263.3);
Tailwind
colors: {
  custom: {
    50: '#5f6492',
    500: '#122c66',
    950: '#000000',
  },
}
SCSS
$custom: #122c66;
$custom-light: #5f6492;
$custom-dark: #000000;
JSON
{
  "hex": "#122c66",
  "rgb": {
    "r": 18,
    "g": 44,
    "b": 102
  },
  "hsl": {
    "h": 221.429,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.31165,
    "c": 0.10726,
    "h": 263.3
  },
  "luminance": 0.02889
}

Semantic roles & 50–950 ramp

primary
#122C66
secondary
#9E7E36
accent
#B63BED
background
#F5F5F9
surface
#EAEAF1
border
#C6C6CB
text
#05050D
muted
#79797E

Preview Lab

Preview with #122C66

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

Preview Lab → · Contrast checker → · Palette generator →

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