#122A36#122A36

#122A36 is a dark, muted cyan. Relative luminance 0.021; OKLCH L 27.2% C 0.037 H 232.2°. Best body text is #FFFFFF at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#122A36
RGBrgb(18, 42, 54)
HSLhsl(200, 50%, 14%)
HSVhsv(200, 67%, 21%)
CMYKcmyk(66.7%, 22.2%, 0%, 78.8%)
CIE-LABlab(15.75, -5.01, -10.58)
CIE-LCHlch(15.75, 11.70, 244.68°)
OKLaboklab(27.16% -0.0229 -0.0295)
OKLCHoklch(27.16% 0.037 232.2)
XYZxyz(1.7430, 2.0507, 3.7933)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122A36 #361E12
analogous
#123630 #122A36 #121836
triadic
#122A36 #36122A #2A3612
tetradic
#122A36 #301236 #361E12 #183612
square
#122A36 #301236 #361E12 #183612
split-complementary
#122A36 #361218 #363012
monochromatic
#081217 #081217 #122A36 #214E64 #317192

Accessibility & contrast

On white

14.89
#122A36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#122A36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122A36
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122A36#FFFFFF#000000##FFFFFF
##122A361.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242937
Deuteranopia (green-blind)
#1F2636
Tritanopia (blue-blind)
#002D2E
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #122a36;
/* rgb */ color: rgb(18, 42, 54);
/* oklch */ color: oklch(27.2% 0.037 232.2);
Tailwind
colors: {
  custom: {
    50: '#54636d',
    500: '#122a36',
    950: '#000000',
  },
}
SCSS
$custom: #122a36;
$custom-light: #54636d;
$custom-dark: #000000;
JSON
{
  "hex": "#122a36",
  "rgb": {
    "r": 18,
    "g": 42,
    "b": 54
  },
  "hsl": {
    "h": 200,
    "s": 50,
    "l": 14.118
  },
  "oklch": {
    "l": 0.27161,
    "c": 0.03734,
    "h": 232.2
  },
  "luminance": 0.02051
}

Semantic roles & 50–950 ramp

primary
#122A36
secondary
#6F4835
accent
#7D4EDA
background
#F4F5F6
surface
#E7EAEB
border
#C3C6C6
text
#030507
muted
#78797A

Preview Lab

Preview with #122A36

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

Preview Lab → · Contrast checker → · Palette generator →

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