#122C4A#122C4A

#122C4A is a dark, moderate cyan. Relative luminance 0.024; OKLCH L 29.0% C 0.064 H 253.6°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#122C4A
RGBrgb(18, 44, 74)
HSLhsl(212, 61%, 18%)
HSVhsv(212, 76%, 29%)
CMYKcmyk(75.7%, 40.5%, 0%, 71%)
CIE-LABlab(17.57, 1.69, -21.54)
CIE-LCHlch(17.57, 21.61, 274.49°)
OKLaboklab(28.96% -0.018 -0.0612)
OKLCHoklch(28.96% 0.064 253.6)
XYZxyz(2.3857, 2.4241, 6.8194)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122C4A #4A3012
analogous
#12484A #122C4A #14124A
triadic
#122C4A #4A122C #2C4A12
tetradic
#122C4A #4A1248 #4A3012 #124A14
square
#122C4A #4A1248 #4A3012 #124A14
split-complementary
#122C4A #4A1412 #484A12
monochromatic
#060F19 #060F19 #122C4A #1E497B #2A67AC

Accessibility & contrast

On white

14.14
#122C4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#122C4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122C4A
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122C4A#FFFFFF#000000##FFFFFF
##122C4A1.0014.141.4814.14
#FFFFFF14.141.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2E4B
Deuteranopia (green-blind)
#162949
Tritanopia (blue-blind)
#003337
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #122c4a;
/* rgb */ color: rgb(18, 44, 74);
/* oklch */ color: oklch(29.0% 0.064 253.6);
Tailwind
colors: {
  custom: {
    50: '#58647c',
    500: '#122c4a',
    950: '#000000',
  },
}
SCSS
$custom: #122c4a;
$custom-light: #58647c;
$custom-dark: #000000;
JSON
{
  "hex": "#122c4a",
  "rgb": {
    "r": 18,
    "g": 44,
    "b": 74
  },
  "hsl": {
    "h": 212.143,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.28961,
    "c": 0.0638,
    "h": 253.6
  },
  "luminance": 0.02424
}

Semantic roles & 50–950 ramp

primary
#122C4A
secondary
#835F35
accent
#9A44E4
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#040509
muted
#79797B

Preview Lab

Preview with #122C4A

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

Preview Lab → · Contrast checker → · Palette generator →

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