#122A42#122A42

#122A42 is a dark, muted cyan. Relative luminance 0.022; OKLCH L 27.9% C 0.054 H 250.3°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#122A42
RGBrgb(18, 42, 66)
HSLhsl(210, 57%, 16%)
HSVhsv(210, 73%, 26%)
CMYKcmyk(72.7%, 36.4%, 0%, 74.1%)
CIE-LABlab(16.39, -0.21, -17.92)
CIE-LCHlch(16.39, 17.92, 269.32°)
OKLaboklab(27.88% -0.0181 -0.0507)
OKLCHoklch(27.88% 0.054 250.3)
XYZxyz(2.0604, 2.1777, 5.4649)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122A42 #422A12
analogous
#124242 #122A42 #121242
triadic
#122A42 #42122A #2A4212
tetradic
#122A42 #421242 #422A12 #124212
square
#122A42 #421242 #422A12 #124212
split-complementary
#122A42 #421212 #424212
monochromatic
#070F18 #070F18 #122A42 #1F4972 #2C67A2

Accessibility & contrast

On white

14.63
#122A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#122A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122A42
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122A42#FFFFFF#000000##FFFFFF
##122A421.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202B43
Deuteranopia (green-blind)
#192742
Tritanopia (blue-blind)
#003033
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #122a42;
/* rgb */ color: rgb(18, 42, 66);
/* oklch */ color: oklch(27.9% 0.054 250.3);
Tailwind
colors: {
  custom: {
    50: '#566376',
    500: '#122a42',
    950: '#000000',
  },
}
SCSS
$custom: #122a42;
$custom-light: #566376;
$custom-dark: #000000;
JSON
{
  "hex": "#122a42",
  "rgb": {
    "r": 18,
    "g": 42,
    "b": 66
  },
  "hsl": {
    "h": 210,
    "s": 57.143,
    "l": 16.471
  },
  "oklch": {
    "l": 0.2788,
    "c": 0.05383,
    "h": 250.3
  },
  "luminance": 0.02178
}

Semantic roles & 50–950 ramp

primary
#122A42
secondary
#7B5835
accent
#9447E0
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#030508
muted
#78797B

Preview Lab

Preview with #122A42

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

Preview Lab → · Contrast checker → · Palette generator →

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