#122E68#122E68

#122E68 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.8% C 0.108 H 262.6°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#122E68
RGBrgb(18, 46, 104)
HSLhsl(220, 70%, 24%)
HSVhsv(220, 83%, 41%)
CMYKcmyk(82.7%, 55.8%, 0%, 59.2%)
CIE-LABlab(20.37, 13.07, -37.01)
CIE-LCHlch(20.37, 39.25, 289.45°)
OKLaboklab(31.8% -0.0139 -0.1066)
OKLCHoklch(31.8% 0.108 262.6)
XYZxyz(3.7242, 3.0816, 13.4926)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122E68 #684C12
analogous
#125968 #122E68 #211268
triadic
#122E68 #68122E #2E6812
tetradic
#122E68 #681259 #684C12 #126821
square
#122E68 #681259 #684C12 #126821
split-complementary
#122E68 #682112 #596812
monochromatic
#050C1A #091734 #122E68 #1B459C #245CD0

Accessibility & contrast

On white

12.99
#122E68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122E68
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122E68#FFFFFF#000000##FFFFFF
##122E681.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04356A
Deuteranopia (green-blind)
#002D67
Tritanopia (blue-blind)
#003C46
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #122e68;
/* rgb */ color: rgb(18, 46, 104);
/* oklch */ color: oklch(31.8% 0.108 262.6);
Tailwind
colors: {
  custom: {
    50: '#5f6694',
    500: '#122e68',
    950: '#000000',
  },
}
SCSS
$custom: #122e68;
$custom-light: #5f6694;
$custom-dark: #000000;
JSON
{
  "hex": "#122e68",
  "rgb": {
    "r": 18,
    "g": 46,
    "b": 104
  },
  "hsl": {
    "h": 220.465,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.31804,
    "c": 0.10753,
    "h": 262.6
  },
  "luminance": 0.03082
}

Semantic roles & 50–950 ramp

primary
#122E68
secondary
#A07D36
accent
#B33BED
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05050D
muted
#7A7A7E

Preview Lab

Preview with #122E68

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

Preview Lab → · Contrast checker → · Palette generator →

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