#122E71#122E71

#122E71 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 32.6% C 0.121 H 263.8°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#122E71
RGBrgb(18, 46, 113)
HSLhsl(222, 73%, 26%)
HSVhsv(222, 84%, 44%)
CMYKcmyk(84.1%, 59.3%, 0%, 55.7%)
CIE-LABlab(21.11, 16.89, -41.62)
CIE-LCHlch(21.11, 44.92, 292.09°)
OKLaboklab(32.6% -0.0131 -0.1202)
OKLCHoklch(32.6% 0.121 263.8)
XYZxyz(4.2060, 3.2743, 16.0299)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122E71 #715512
analogous
#125D71 #122E71 #251271
triadic
#122E71 #71122E #2E7112
tetradic
#122E71 #71125D #715512 #127125
square
#122E71 #71125D #715512 #127125
split-complementary
#122E71 #712512 #5D7112
monochromatic
#040B1A #0A193C #122E71 #1A43A6 #2359DB

Accessibility & contrast

On white

12.69
#122E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#122E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122E71
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122E71#FFFFFF#000000##FFFFFF
##122E711.0012.691.6612.69
#FFFFFF12.691.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003773
Deuteranopia (green-blind)
#002F70
Tritanopia (blue-blind)
#003F4A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #122e71;
/* rgb */ color: rgb(18, 46, 113);
/* oklch */ color: oklch(32.6% 0.121 263.8);
Tailwind
colors: {
  custom: {
    50: '#62669a',
    500: '#122e71',
    950: '#000000',
  },
}
SCSS
$custom: #122e71;
$custom-light: #62669a;
$custom-dark: #000000;
JSON
{
  "hex": "#122e71",
  "rgb": {
    "r": 18,
    "g": 46,
    "b": 113
  },
  "hsl": {
    "h": 222.316,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.326,
    "c": 0.12091,
    "h": 263.8
  },
  "luminance": 0.03275
}

Semantic roles & 50–950 ramp

primary
#122E71
secondary
#A88737
accent
#B939EF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #122E71

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

Preview Lab → · Contrast checker → · Palette generator →

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