#122E59#122E59

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

Color values

HEX#122E59
RGBrgb(18, 46, 89)
HSLhsl(216, 66%, 21%)
HSVhsv(216, 80%, 35%)
CMYKcmyk(79.8%, 48.3%, 0%, 65.1%)
CIE-LABlab(19.24, 6.63, -28.97)
CIE-LCHlch(19.24, 29.72, 282.89°)
OKLaboklab(30.58% -0.0163 -0.083)
OKLCHoklch(30.58% 0.085 258.9)
XYZxyz(3.0290, 2.8035, 9.8308)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122E59 #593D12
analogous
#125159 #122E59 #191259
triadic
#122E59 #59122E #2E5912
tetradic
#122E59 #591251 #593D12 #125919
square
#122E59 #591251 #593D12 #125919
split-complementary
#122E59 #591912 #515912
monochromatic
#050D19 #081426 #122E59 #1C488C #2763BF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##122E59#FFFFFF#000000##FFFFFF
##122E591.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)
#18325B
Deuteranopia (green-blind)
#0A2C58
Tritanopia (blue-blind)
#00383F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #122e59;
/* rgb */ color: rgb(18, 46, 89);
/* oklch */ color: oklch(30.6% 0.085 258.9);
Tailwind
colors: {
  custom: {
    50: '#5b6688',
    500: '#122e59',
    950: '#000000',
  },
}
SCSS
$custom: #122e59;
$custom-light: #5b6688;
$custom-dark: #000000;
JSON
{
  "hex": "#122e59",
  "rgb": {
    "r": 18,
    "g": 46,
    "b": 89
  },
  "hsl": {
    "h": 216.338,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.30579,
    "c": 0.08456,
    "h": 258.9
  },
  "luminance": 0.02804
}

Semantic roles & 50–950 ramp

primary
#122E59
secondary
#926D35
accent
#A63FE9
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04050B
muted
#797A7C

Preview Lab

Preview with #122E59

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

Preview Lab → · Contrast checker → · Palette generator →

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