#122E66#122E66

#122E66 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.6% C 0.105 H 262.2°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#122E66
RGBrgb(18, 46, 102)
HSLhsl(220, 70%, 24%)
HSVhsv(220, 82%, 40%)
CMYKcmyk(82.4%, 54.9%, 0%, 60%)
CIE-LABlab(20.21, 12.21, -35.96)
CIE-LCHlch(20.21, 37.98, 288.76°)
OKLaboklab(31.63% -0.0141 -0.1035)
OKLCHoklch(31.63% 0.105 262.2)
XYZxyz(3.6239, 3.0415, 12.9639)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122E66 #664A12
analogous
#125866 #122E66 #201266
triadic
#122E66 #66122E #2E6612
tetradic
#122E66 #661258 #664A12 #126620
square
#122E66 #661258 #664A12 #126620
split-complementary
#122E66 #662012 #586612
monochromatic
#050C1A #091732 #122E66 #1B459A #245DCE

Accessibility & contrast

On white

13.06
#122E66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#122E66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122E66
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122E66#FFFFFF#000000##FFFFFF
##122E661.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083568
Deuteranopia (green-blind)
#002D65
Tritanopia (blue-blind)
#003C45
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #122e66;
/* rgb */ color: rgb(18, 46, 102);
/* oklch */ color: oklch(31.6% 0.105 262.2);
Tailwind
colors: {
  custom: {
    50: '#5f6692',
    500: '#122e66',
    950: '#000000',
  },
}
SCSS
$custom: #122e66;
$custom-light: #5f6692;
$custom-dark: #000000;
JSON
{
  "hex": "#122e66",
  "rgb": {
    "r": 18,
    "g": 46,
    "b": 102
  },
  "hsl": {
    "h": 220,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.31633,
    "c": 0.10451,
    "h": 262.2
  },
  "luminance": 0.03042
}

Semantic roles & 50–950 ramp

primary
#122E66
secondary
#9E7B36
accent
#B23BED
background
#F5F6F9
surface
#EAEBF1
border
#C6C6CB
text
#05050D
muted
#797A7E

Preview Lab

Preview with #122E66

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

Preview Lab → · Contrast checker → · Palette generator →

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