#122F55#122F55

#122F55 is a dark, moderate cyan. Relative luminance 0.028; OKLCH L 30.5% C 0.077 H 256.3°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#122F55
RGBrgb(18, 47, 85)
HSLhsl(214, 65%, 20%)
HSVhsv(214, 79%, 33%)
CMYKcmyk(78.8%, 44.7%, 0%, 66.7%)
CIE-LABlab(19.30, 4.19, -26.21)
CIE-LCHlch(19.30, 26.54, 279.08°)
OKLaboklab(30.54% -0.0183 -0.0748)
OKLCHoklch(30.54% 0.077 256.3)
XYZxyz(2.9051, 2.8172, 8.9832)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122F55 #553812
analogous
#125055 #122F55 #161255
triadic
#122F55 #55122F #2F5512
tetradic
#122F55 #551250 #553812 #125516
square
#122F55 #551250 #553812 #125516
split-complementary
#122F55 #551612 #505512
monochromatic
#050E19 #071322 #122F55 #1D4B88 #2767BA

Accessibility & contrast

On white

13.43
#122F55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#122F55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122F55
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122F55#FFFFFF#000000##FFFFFF
##122F551.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3256
Deuteranopia (green-blind)
#122C54
Tritanopia (blue-blind)
#00383D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #122f55;
/* rgb */ color: rgb(18, 47, 85);
/* oklch */ color: oklch(30.5% 0.077 256.3);
Tailwind
colors: {
  custom: {
    50: '#5a6785',
    500: '#122f55',
    950: '#000000',
  },
}
SCSS
$custom: #122f55;
$custom-light: #5a6785;
$custom-dark: #000000;
JSON
{
  "hex": "#122f55",
  "rgb": {
    "r": 18,
    "g": 47,
    "b": 85
  },
  "hsl": {
    "h": 214.03,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30535,
    "c": 0.07705,
    "h": 256.3
  },
  "luminance": 0.02818
}

Semantic roles & 50–950 ramp

primary
#122F55
secondary
#8E6735
accent
#9F40E8
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #122F55

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

Preview Lab → · Contrast checker → · Palette generator →

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