#122A55#122A55

#122A55 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.3% C 0.084 H 261.0°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#122A55
RGBrgb(18, 42, 85)
HSLhsl(219, 65%, 20%)
HSVhsv(219, 79%, 33%)
CMYKcmyk(78.8%, 50.6%, 0%, 66.7%)
CIE-LABlab(17.65, 7.85, -28.85)
CIE-LCHlch(17.65, 29.90, 285.22°)
OKLaboklab(29.26% -0.0131 -0.0827)
OKLCHoklch(29.26% 0.084 261)
XYZxyz(2.7165, 2.4401, 8.9204)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122A55 #553D12
analogous
#124C55 #122A55 #1B1255
triadic
#122A55 #55122A #2A5512
tetradic
#122A55 #55124C #553D12 #12551B
square
#122A55 #55124C #553D12 #12551B
split-complementary
#122A55 #551B12 #4C5512
monochromatic
#050C19 #071122 #122A55 #1D4388 #275CBA

Accessibility & contrast

On white

14.11
#122A55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#122A55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122A55
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122A55#FFFFFF#000000##FFFFFF
##122A551.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132F57
Deuteranopia (green-blind)
#052854
Tritanopia (blue-blind)
#00343B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #122a55;
/* rgb */ color: rgb(18, 42, 85);
/* oklch */ color: oklch(29.3% 0.084 261.0);
Tailwind
colors: {
  custom: {
    50: '#5a6385',
    500: '#122a55',
    950: '#000000',
  },
}
SCSS
$custom: #122a55;
$custom-light: #5a6385;
$custom-dark: #000000;
JSON
{
  "hex": "#122a55",
  "rgb": {
    "r": 18,
    "g": 42,
    "b": 85
  },
  "hsl": {
    "h": 218.507,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.29259,
    "c": 0.08375,
    "h": 261
  },
  "luminance": 0.0244
}

Semantic roles & 50–950 ramp

primary
#122A55
secondary
#8E6E35
accent
#AC40E8
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #122A55

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

Preview Lab → · Contrast checker → · Palette generator →

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