#122C42#122C42

#122C42 is a dark, muted cyan. Relative luminance 0.023; OKLCH L 28.4% C 0.052 H 246.5°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#122C42
RGBrgb(18, 44, 66)
HSLhsl(208, 57%, 16%)
HSVhsv(208, 73%, 26%)
CMYKcmyk(72.7%, 33.3%, 0%, 74.1%)
CIE-LABlab(17.10, -1.63, -16.82)
CIE-LCHlch(17.10, 16.90, 264.45°)
OKLaboklab(28.44% -0.0207 -0.0474)
OKLCHoklch(28.44% 0.052 246.5)
XYZxyz(2.1331, 2.3231, 5.4892)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122C42 #422812
analogous
#124240 #122C42 #121442
triadic
#122C42 #42122C #2C4212
tetradic
#122C42 #401242 #422812 #144212
square
#122C42 #401242 #422812 #144212
split-complementary
#122C42 #421214 #424012
monochromatic
#071018 #071018 #122C42 #1F4C72 #2C6CA2

Accessibility & contrast

On white

14.34
#122C42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122C42
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122C42#FFFFFF#000000##FFFFFF
##122C421.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222D43
Deuteranopia (green-blind)
#1C2842
Tritanopia (blue-blind)
#003134
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #122c42;
/* rgb */ color: rgb(18, 44, 66);
/* oklch */ color: oklch(28.4% 0.052 246.5);
Tailwind
colors: {
  custom: {
    50: '#566476',
    500: '#122c42',
    950: '#000000',
  },
}
SCSS
$custom: #122c42;
$custom-light: #566476;
$custom-dark: #000000;
JSON
{
  "hex": "#122c42",
  "rgb": {
    "r": 18,
    "g": 44,
    "b": 66
  },
  "hsl": {
    "h": 207.5,
    "s": 57.143,
    "l": 16.471
  },
  "oklch": {
    "l": 0.28435,
    "c": 0.05174,
    "h": 246.5
  },
  "luminance": 0.02323
}

Semantic roles & 50–950 ramp

primary
#122C42
secondary
#7B5535
accent
#8E47E0
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030508
muted
#787A7B

Preview Lab

Preview with #122C42

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

Preview Lab → · Contrast checker → · Palette generator →

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