#122A69#122A69

#122A69 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.0% C 0.115 H 264.7°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#122A69
RGBrgb(18, 42, 105)
HSLhsl(223, 71%, 24%)
HSVhsv(223, 83%, 41%)
CMYKcmyk(82.9%, 60%, 0%, 58.8%)
CIE-LABlab(19.24, 16.42, -39.49)
CIE-LCHlch(19.24, 42.77, 292.58°)
OKLaboklab(30.98% -0.0106 -0.114)
OKLCHoklch(30.98% 0.115 264.7)
XYZxyz(3.6263, 2.8040, 13.7120)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122A69 #695112
analogous
#125669 #122A69 #261269
triadic
#122A69 #69122A #2A6912
tetradic
#122A69 #691256 #695112 #126926
square
#122A69 #691256 #695112 #126926
split-complementary
#122A69 #692612 #566912
monochromatic
#040A1A #091535 #122A69 #1B3F9D #2454D1

Accessibility & contrast

On white

13.45
#122A69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122A69
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122A69#FFFFFF#000000##FFFFFF
##122A691.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336B
Deuteranopia (green-blind)
#002B68
Tritanopia (blue-blind)
#003A45
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #122a69;
/* rgb */ color: rgb(18, 42, 105);
/* oklch */ color: oklch(31.0% 0.115 264.7);
Tailwind
colors: {
  custom: {
    50: '#606394',
    500: '#122a69',
    950: '#000000',
  },
}
SCSS
$custom: #122a69;
$custom-light: #606394;
$custom-dark: #000000;
JSON
{
  "hex": "#122a69",
  "rgb": {
    "r": 18,
    "g": 42,
    "b": 105
  },
  "hsl": {
    "h": 223.448,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.30978,
    "c": 0.1145,
    "h": 264.7
  },
  "luminance": 0.02804
}

Semantic roles & 50–950 ramp

primary
#122A69
secondary
#A18336
accent
#BC3AED
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#05050D
muted
#7A797E

Preview Lab

Preview with #122A69

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

Preview Lab → · Contrast checker → · Palette generator →

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