#122466#122466

#122466 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.4% C 0.118 H 266.9°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#122466
RGBrgb(18, 36, 102)
HSLhsl(227, 70%, 24%)
HSVhsv(227, 82%, 40%)
CMYKcmyk(82.4%, 64.7%, 0%, 60%)
CIE-LABlab(17.22, 19.55, -40.82)
CIE-LCHlch(17.22, 45.26, 295.59°)
OKLaboklab(29.39% -0.0064 -0.118)
OKLCHoklch(29.39% 0.118 266.9)
XYZxyz(3.2778, 2.3493, 12.8485)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122466 #665412
analogous
#124E66 #122466 #2A1266
triadic
#122466 #661224 #246612
tetradic
#122466 #66124E #665412 #12662A
square
#122466 #66124E #665412 #12662A
split-complementary
#122466 #662A12 #4E6612
monochromatic
#05091A #091232 #122466 #1B369A #2449CE

Accessibility & contrast

On white

14.29
#122466 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#122466 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122466
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122466#FFFFFF#000000##FFFFFF
##1224661.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E68
Deuteranopia (green-blind)
#002765
Tritanopia (blue-blind)
#003541
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #122466;
/* rgb */ color: rgb(18, 36, 102);
/* oklch */ color: oklch(29.4% 0.118 266.9);
Tailwind
colors: {
  custom: {
    50: '#605e92',
    500: '#122466',
    950: '#000000',
  },
}
SCSS
$custom: #122466;
$custom-light: #605e92;
$custom-dark: #000000;
JSON
{
  "hex": "#122466",
  "rgb": {
    "r": 18,
    "g": 36,
    "b": 102
  },
  "hsl": {
    "h": 227.143,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.29385,
    "c": 0.11817,
    "h": 266.9
  },
  "luminance": 0.0235
}

Semantic roles & 50–950 ramp

primary
#122466
secondary
#9E8836
accent
#C73BED
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05040D
muted
#79797E

Preview Lab

Preview with #122466

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

Preview Lab → · Contrast checker → · Palette generator →

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