#122C48#122C48

#122C48 is a dark, moderate cyan. Relative luminance 0.024; OKLCH L 28.8% C 0.061 H 252.2°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#122C48
RGBrgb(18, 44, 72)
HSLhsl(211, 60%, 18%)
HSVhsv(211, 75%, 28%)
CMYKcmyk(75%, 38.9%, 0%, 71.8%)
CIE-LABlab(17.45, 0.85, -20.38)
CIE-LCHlch(17.45, 20.39, 272.39°)
OKLaboklab(28.83% -0.0186 -0.0578)
OKLCHoklch(28.83% 0.061 252.2)
XYZxyz(2.3194, 2.3976, 6.4702)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122C48 #482E12
analogous
#124748 #122C48 #131248
triadic
#122C48 #48122C #2C4812
tetradic
#122C48 #481247 #482E12 #124813
square
#122C48 #481247 #482E12 #124813
split-complementary
#122C48 #481312 #474812
monochromatic
#060F18 #060F18 #122C48 #1E4A79 #2A68AA

Accessibility & contrast

On white

14.19
#122C48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122C48
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122C48#FFFFFF#000000##FFFFFF
##122C481.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202E49
Deuteranopia (green-blind)
#182947
Tritanopia (blue-blind)
#003336
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #122c48;
/* rgb */ color: rgb(18, 44, 72);
/* oklch */ color: oklch(28.8% 0.061 252.2);
Tailwind
colors: {
  custom: {
    50: '#57647b',
    500: '#122c48',
    950: '#000000',
  },
}
SCSS
$custom: #122c48;
$custom-light: #57647b;
$custom-dark: #000000;
JSON
{
  "hex": "#122c48",
  "rgb": {
    "r": 18,
    "g": 44,
    "b": 72
  },
  "hsl": {
    "h": 211.111,
    "s": 60,
    "l": 17.647
  },
  "oklch": {
    "l": 0.28825,
    "c": 0.06073,
    "h": 252.2
  },
  "luminance": 0.02398
}

Semantic roles & 50–950 ramp

primary
#122C48
secondary
#815C35
accent
#9745E3
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030509
muted
#787A7B

Preview Lab

Preview with #122C48

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

Preview Lab → · Contrast checker → · Palette generator →

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