#122C4C#122C4C

#122C4C is a dark, moderate cyan. Relative luminance 0.025; OKLCH L 29.1% C 0.067 H 254.9°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#122C4C
RGBrgb(18, 44, 76)
HSLhsl(213, 62%, 18%)
HSVhsv(213, 76%, 30%)
CMYKcmyk(76.3%, 42.1%, 0%, 70.2%)
CIE-LABlab(17.70, 2.53, -22.70)
CIE-LCHlch(17.70, 22.84, 276.37°)
OKLaboklab(29.1% -0.0174 -0.0646)
OKLCHoklch(29.1% 0.067 254.9)
XYZxyz(2.4542, 2.4515, 7.1799)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122C4C #4C3212
analogous
#12494C #122C4C #15124C
triadic
#122C4C #4C122C #2C4C12
tetradic
#122C4C #4C1249 #4C3212 #124C15
square
#122C4C #4C1249 #4C3212 #124C15
split-complementary
#122C4C #4C1512 #494C12
monochromatic
#060E19 #060F1B #122C4C #1E497D #2965AF

Accessibility & contrast

On white

14.09
#122C4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#122C4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122C4C
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122C4C#FFFFFF#000000##FFFFFF
##122C4C1.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2E4D
Deuteranopia (green-blind)
#15294B
Tritanopia (blue-blind)
#003338
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #122c4c;
/* rgb */ color: rgb(18, 44, 76);
/* oklch */ color: oklch(29.1% 0.067 254.9);
Tailwind
colors: {
  custom: {
    50: '#58647e',
    500: '#122c4c',
    950: '#000000',
  },
}
SCSS
$custom: #122c4c;
$custom-light: #58647e;
$custom-dark: #000000;
JSON
{
  "hex": "#122c4c",
  "rgb": {
    "r": 18,
    "g": 44,
    "b": 76
  },
  "hsl": {
    "h": 213.103,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.291,
    "c": 0.06691,
    "h": 254.9
  },
  "luminance": 0.02452
}

Semantic roles & 50–950 ramp

primary
#122C4C
secondary
#856135
accent
#9C43E5
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #122C4C

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

Preview Lab → · Contrast checker → · Palette generator →

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