#122B66#122B66

#122B66 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.9% C 0.109 H 263.8°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#122B66
RGBrgb(18, 43, 102)
HSLhsl(222, 70%, 24%)
HSVhsv(222, 82%, 40%)
CMYKcmyk(82.4%, 57.8%, 0%, 60%)
CIE-LABlab(19.29, 14.41, -37.45)
CIE-LCHlch(19.29, 40.13, 291.04°)
OKLaboklab(30.93% -0.0117 -0.108)
OKLCHoklch(30.93% 0.109 263.8)
XYZxyz(3.5107, 2.8153, 12.9262)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122B66 #664D12
analogous
#125566 #122B66 #231266
triadic
#122B66 #66122B #2B6612
tetradic
#122B66 #661255 #664D12 #126623
square
#122B66 #661255 #664D12 #126623
split-complementary
#122B66 #662312 #556612
monochromatic
#050B1A #091532 #122B66 #1B419A #2457CE

Accessibility & contrast

On white

13.43
#122B66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#122B66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122B66
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122B66#FFFFFF#000000##FFFFFF
##122B661.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #122b66;
/* rgb */ color: rgb(18, 43, 102);
/* oklch */ color: oklch(30.9% 0.109 263.8);
Tailwind
colors: {
  custom: {
    50: '#5f6392',
    500: '#122b66',
    950: '#000000',
  },
}
SCSS
$custom: #122b66;
$custom-light: #5f6392;
$custom-dark: #000000;
JSON
{
  "hex": "#122b66",
  "rgb": {
    "r": 18,
    "g": 43,
    "b": 102
  },
  "hsl": {
    "h": 222.143,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30934,
    "c": 0.10863,
    "h": 263.8
  },
  "luminance": 0.02816
}

Semantic roles & 50–950 ramp

primary
#122B66
secondary
#9E7F36
accent
#B83BED
background
#F5F5F9
surface
#EAEAF1
border
#C6C6CB
text
#05050D
muted
#79797E

Preview Lab

Preview with #122B66

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

Preview Lab → · Contrast checker → · Palette generator →

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