#122C60#122C60

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

Color values

HEX#122C60
RGBrgb(18, 44, 96)
HSLhsl(220, 68%, 22%)
HSVhsv(220, 81%, 38%)
CMYKcmyk(81.3%, 54.2%, 0%, 62.4%)
CIE-LABlab(19.12, 11.11, -33.80)
CIE-LCHlch(19.12, 35.57, 288.19°)
OKLaboklab(30.65% -0.0132 -0.0972)
OKLCHoklch(30.65% 0.098 262.3)
XYZxyz(3.2607, 2.7741, 11.4277)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122C60 #604612
analogous
#125360 #122C60 #1F1260
triadic
#122C60 #60122C #2C6012
tetradic
#122C60 #601253 #604612 #12601F
square
#122C60 #601253 #604612 #12601F
split-complementary
#122C60 #601F12 #536012
monochromatic
#050C1A #08142C #122C60 #1C4494 #255BC7

Accessibility & contrast

On white

13.51
#122C60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#122C60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122C60
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122C60#FFFFFF#000000##FFFFFF
##122C601.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3262
Deuteranopia (green-blind)
#002B5F
Tritanopia (blue-blind)
#003941
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #122c60;
/* rgb */ color: rgb(18, 44, 96);
/* oklch */ color: oklch(30.6% 0.098 262.3);
Tailwind
colors: {
  custom: {
    50: '#5d648e',
    500: '#122c60',
    950: '#000000',
  },
}
SCSS
$custom: #122c60;
$custom-light: #5d648e;
$custom-dark: #000000;
JSON
{
  "hex": "#122c60",
  "rgb": {
    "r": 18,
    "g": 44,
    "b": 96
  },
  "hsl": {
    "h": 220,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.3065,
    "c": 0.09811,
    "h": 262.3
  },
  "luminance": 0.02774
}

Semantic roles & 50–950 ramp

primary
#122C60
secondary
#987736
accent
#B13DEB
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #122C60

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

Preview Lab → · Contrast checker → · Palette generator →

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