#122A4A#122A4A

#122A4A is a dark, moderate cyan. Relative luminance 0.023; OKLCH L 28.4% C 0.066 H 256.4°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#122A4A
RGBrgb(18, 42, 74)
HSLhsl(214, 61%, 18%)
HSVhsv(214, 76%, 29%)
CMYKcmyk(75.7%, 43.2%, 0%, 71%)
CIE-LABlab(16.89, 3.14, -22.63)
CIE-LCHlch(16.89, 22.85, 277.90°)
OKLaboklab(28.43% -0.0156 -0.0644)
OKLCHoklch(28.43% 0.066 256.4)
XYZxyz(2.3130, 2.2787, 6.7952)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122A4A #4A3212
analogous
#12464A #122A4A #16124A
triadic
#122A4A #4A122A #2A4A12
tetradic
#122A4A #4A1246 #4A3212 #124A16
square
#122A4A #4A1246 #4A3212 #124A16
split-complementary
#122A4A #4A1612 #464A12
monochromatic
#060E19 #060E19 #122A4A #1E467B #2A62AC

Accessibility & contrast

On white

14.43
#122A4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#122A4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122A4A
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122A4A#FFFFFF#000000##FFFFFF
##122A4A1.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2C4B
Deuteranopia (green-blind)
#132749
Tritanopia (blue-blind)
#003136
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #122a4a;
/* rgb */ color: rgb(18, 42, 74);
/* oklch */ color: oklch(28.4% 0.066 256.4);
Tailwind
colors: {
  custom: {
    50: '#58637d',
    500: '#122a4a',
    950: '#000000',
  },
}
SCSS
$custom: #122a4a;
$custom-light: #58637d;
$custom-dark: #000000;
JSON
{
  "hex": "#122a4a",
  "rgb": {
    "r": 18,
    "g": 42,
    "b": 74
  },
  "hsl": {
    "h": 214.286,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.28427,
    "c": 0.06631,
    "h": 256.4
  },
  "luminance": 0.02279
}

Semantic roles & 50–950 ramp

primary
#122A4A
secondary
#836135
accent
#9F44E4
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#040509
muted
#79797B

Preview Lab

Preview with #122A4A

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

Preview Lab → · Contrast checker → · Palette generator →

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