#122E6A#122E6A

#122E6A is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.0% C 0.111 H 262.9°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#122E6A
RGBrgb(18, 46, 106)
HSLhsl(221, 71%, 24%)
HSVhsv(221, 83%, 42%)
CMYKcmyk(83%, 56.6%, 0%, 58.4%)
CIE-LABlab(20.53, 13.92, -38.05)
CIE-LCHlch(20.53, 40.51, 290.10°)
OKLaboklab(31.98% -0.0137 -0.1097)
OKLCHoklch(31.98% 0.111 262.9)
XYZxyz(3.8270, 3.1227, 14.0339)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122E6A #6A4E12
analogous
#125A6A #122E6A #22126A
triadic
#122E6A #6A122E #2E6A12
tetradic
#122E6A #6A125A #6A4E12 #126A22
square
#122E6A #6A125A #6A4E12 #126A22
split-complementary
#122E6A #6A2212 #5A6A12
monochromatic
#040B1A #091736 #122E6A #1B459E #245BD3

Accessibility & contrast

On white

12.93
#122E6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#122E6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122E6A
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122E6A#FFFFFF#000000##FFFFFF
##122E6A1.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366C
Deuteranopia (green-blind)
#002E69
Tritanopia (blue-blind)
#003D47
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #122e6a;
/* rgb */ color: rgb(18, 46, 106);
/* oklch */ color: oklch(32.0% 0.111 262.9);
Tailwind
colors: {
  custom: {
    50: '#606695',
    500: '#122e6a',
    950: '#000000',
  },
}
SCSS
$custom: #122e6a;
$custom-light: #606695;
$custom-dark: #000000;
JSON
{
  "hex": "#122e6a",
  "rgb": {
    "r": 18,
    "g": 46,
    "b": 106
  },
  "hsl": {
    "h": 220.909,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.31977,
    "c": 0.11054,
    "h": 262.9
  },
  "luminance": 0.03123
}

Semantic roles & 50–950 ramp

primary
#122E6A
secondary
#A27F36
accent
#B53AEE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#05050D
muted
#7A7A7E

Preview Lab

Preview with #122E6A

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

Preview Lab → · Contrast checker → · Palette generator →

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