#122A66#122A66

#122A66 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.7% C 0.110 H 264.3°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#122A66
RGBrgb(18, 42, 102)
HSLhsl(223, 70%, 24%)
HSVhsv(223, 82%, 40%)
CMYKcmyk(82.4%, 58.8%, 0%, 60%)
CIE-LABlab(18.99, 15.15, -37.95)
CIE-LCHlch(18.99, 40.86, 291.76°)
OKLaboklab(30.71% -0.0109 -0.1095)
OKLCHoklch(30.71% 0.11 264.3)
XYZxyz(3.4748, 2.7434, 12.9142)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122A66 #664E12
analogous
#125466 #122A66 #241266
triadic
#122A66 #66122A #2A6612
tetradic
#122A66 #661254 #664E12 #126624
square
#122A66 #661254 #664E12 #126624
split-complementary
#122A66 #662412 #546612
monochromatic
#050B1A #091532 #122A66 #1B3F9A #2455CE

Accessibility & contrast

On white

13.56
#122A66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#122A66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122A66
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122A66#FFFFFF#000000##FFFFFF
##122A661.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003268
Deuteranopia (green-blind)
#002A65
Tritanopia (blue-blind)
#003943
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #122a66;
/* rgb */ color: rgb(18, 42, 102);
/* oklch */ color: oklch(30.7% 0.110 264.3);
Tailwind
colors: {
  custom: {
    50: '#5f6392',
    500: '#122a66',
    950: '#000000',
  },
}
SCSS
$custom: #122a66;
$custom-light: #5f6392;
$custom-dark: #000000;
JSON
{
  "hex": "#122a66",
  "rgb": {
    "r": 18,
    "g": 42,
    "b": 102
  },
  "hsl": {
    "h": 222.857,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30705,
    "c": 0.11001,
    "h": 264.3
  },
  "luminance": 0.02744
}

Semantic roles & 50–950 ramp

primary
#122A66
secondary
#9E8036
accent
#BA3BED
background
#F5F5F9
surface
#EAEAF1
border
#C6C6CB
text
#05050D
muted
#79797E

Preview Lab

Preview with #122A66

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

Preview Lab → · Contrast checker → · Palette generator →

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