#122D66#122D66

#122D66 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.4% C 0.106 H 262.8°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#122D66
RGBrgb(18, 45, 102)
HSLhsl(221, 70%, 24%)
HSVhsv(221, 82%, 40%)
CMYKcmyk(82.4%, 55.9%, 0%, 60%)
CIE-LABlab(19.90, 12.94, -36.46)
CIE-LCHlch(19.90, 38.69, 289.55°)
OKLaboklab(31.4% -0.0133 -0.105)
OKLCHoklch(31.4% 0.106 262.8)
XYZxyz(3.5853, 2.9643, 12.9510)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122D66 #664B12
analogous
#125766 #122D66 #211266
triadic
#122D66 #66122D #2D6612
tetradic
#122D66 #661257 #664B12 #126621
square
#122D66 #661257 #664B12 #126621
split-complementary
#122D66 #662112 #576612
monochromatic
#050B1A #091632 #122D66 #1B449A #245BCE

Accessibility & contrast

On white

13.18
#122D66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#122D66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122D66
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122D66#FFFFFF#000000##FFFFFF
##122D661.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043468
Deuteranopia (green-blind)
#002C65
Tritanopia (blue-blind)
#003B44
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #122d66;
/* rgb */ color: rgb(18, 45, 102);
/* oklch */ color: oklch(31.4% 0.106 262.8);
Tailwind
colors: {
  custom: {
    50: '#5f6592',
    500: '#122d66',
    950: '#000000',
  },
}
SCSS
$custom: #122d66;
$custom-light: #5f6592;
$custom-dark: #000000;
JSON
{
  "hex": "#122d66",
  "rgb": {
    "r": 18,
    "g": 45,
    "b": 102
  },
  "hsl": {
    "h": 220.714,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.31398,
    "c": 0.10589,
    "h": 262.8
  },
  "luminance": 0.02965
}

Semantic roles & 50–950 ramp

primary
#122D66
secondary
#9E7C36
accent
#B43BED
background
#F5F6F9
surface
#EAEBF1
border
#C6C6CB
text
#05050D
muted
#797A7E

Preview Lab

Preview with #122D66

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

Preview Lab → · Contrast checker → · Palette generator →

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