#122D51#122D51

#122D51 is a dark, moderate cyan. Relative luminance 0.026; OKLCH L 29.7% C 0.073 H 256.5°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#122D51
RGBrgb(18, 45, 81)
HSLhsl(214, 64%, 19%)
HSVhsv(214, 78%, 32%)
CMYKcmyk(77.8%, 44.4%, 0%, 68.2%)
CIE-LABlab(18.36, 3.93, -25.02)
CIE-LCHlch(18.36, 25.33, 278.93°)
OKLaboklab(29.72% -0.0171 -0.0714)
OKLCHoklch(29.72% 0.073 256.5)
XYZxyz(2.6725, 2.5992, 8.1438)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122D51 #513612
analogous
#124D51 #122D51 #171251
triadic
#122D51 #51122D #2D5112
tetradic
#122D51 #51124D #513612 #125117
square
#122D51 #51124D #513612 #125117
split-complementary
#122D51 #511712 #4D5112
monochromatic
#060E19 #07111F #122D51 #1D4983 #2865B5

Accessibility & contrast

On white

13.82
#122D51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#122D51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122D51
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122D51#FFFFFF#000000##FFFFFF
##122D511.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3052
Deuteranopia (green-blind)
#122A50
Tritanopia (blue-blind)
#00353B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #122d51;
/* rgb */ color: rgb(18, 45, 81);
/* oklch */ color: oklch(29.7% 0.073 256.5);
Tailwind
colors: {
  custom: {
    50: '#596582',
    500: '#122d51',
    950: '#000000',
  },
}
SCSS
$custom: #122d51;
$custom-light: #596582;
$custom-dark: #000000;
JSON
{
  "hex": "#122d51",
  "rgb": {
    "r": 18,
    "g": 45,
    "b": 81
  },
  "hsl": {
    "h": 214.286,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29722,
    "c": 0.07343,
    "h": 256.5
  },
  "luminance": 0.02599
}

Semantic roles & 50–950 ramp

primary
#122D51
secondary
#8A6535
accent
#A041E7
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04050A
muted
#797A7C

Preview Lab

Preview with #122D51

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

Preview Lab → · Contrast checker → · Palette generator →

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