#122C68#122C68

#122C68 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.3% C 0.110 H 263.6°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#122C68
RGBrgb(18, 44, 104)
HSLhsl(222, 70%, 24%)
HSVhsv(222, 83%, 41%)
CMYKcmyk(82.7%, 57.7%, 0%, 59.2%)
CIE-LABlab(19.76, 14.53, -38.00)
CIE-LCHlch(19.76, 40.68, 290.93°)
OKLaboklab(31.34% -0.0123 -0.1096)
OKLCHoklch(31.34% 0.11 263.6)
XYZxyz(3.6479, 2.9290, 13.4671)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122C68 #684E12
analogous
#125768 #122C68 #231268
triadic
#122C68 #68122C #2C6812
tetradic
#122C68 #681257 #684E12 #126823
square
#122C68 #681257 #684E12 #126823
split-complementary
#122C68 #682312 #576812
monochromatic
#050B1A #091634 #122C68 #1B429C #2458D0

Accessibility & contrast

On white

13.24
#122C68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#122C68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122C68
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122C68#FFFFFF#000000##FFFFFF
##122C681.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346A
Deuteranopia (green-blind)
#002C67
Tritanopia (blue-blind)
#003B45
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #122c68;
/* rgb */ color: rgb(18, 44, 104);
/* oklch */ color: oklch(31.3% 0.110 263.6);
Tailwind
colors: {
  custom: {
    50: '#5f6494',
    500: '#122c68',
    950: '#000000',
  },
}
SCSS
$custom: #122c68;
$custom-light: #5f6494;
$custom-dark: #000000;
JSON
{
  "hex": "#122c68",
  "rgb": {
    "r": 18,
    "g": 44,
    "b": 104
  },
  "hsl": {
    "h": 221.86,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.31341,
    "c": 0.11026,
    "h": 263.6
  },
  "luminance": 0.02929
}

Semantic roles & 50–950 ramp

primary
#122C68
secondary
#A08036
accent
#B73BED
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#05050D
muted
#7A797E

Preview Lab

Preview with #122C68

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

Preview Lab → · Contrast checker → · Palette generator →

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