#122D52#122D52

#122D52 is a dark, moderate cyan. Relative luminance 0.026; OKLCH L 29.8% C 0.075 H 257.0°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#122D52
RGBrgb(18, 45, 82)
HSLhsl(215, 64%, 20%)
HSVhsv(215, 78%, 32%)
CMYKcmyk(78%, 45.1%, 0%, 67.8%)
CIE-LABlab(18.43, 4.36, -25.59)
CIE-LCHlch(18.43, 25.96, 279.67°)
OKLaboklab(29.8% -0.0169 -0.0731)
OKLCHoklch(29.8% 0.075 257)
XYZxyz(2.7103, 2.6143, 8.3428)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122D52 #523712
analogous
#124D52 #122D52 #171252
triadic
#122D52 #52122D #2D5212
tetradic
#122D52 #52124D #523712 #125217
square
#122D52 #52124D #523712 #125217
split-complementary
#122D52 #521712 #4D5212
monochromatic
#060E19 #071120 #122D52 #1D4984 #2864B6

Accessibility & contrast

On white

13.79
#122D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122D52
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122D52#FFFFFF#000000##FFFFFF
##122D521.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3053
Deuteranopia (green-blind)
#112A51
Tritanopia (blue-blind)
#00363B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #122d52;
/* rgb */ color: rgb(18, 45, 82);
/* oklch */ color: oklch(29.8% 0.075 257.0);
Tailwind
colors: {
  custom: {
    50: '#596583',
    500: '#122d52',
    950: '#000000',
  },
}
SCSS
$custom: #122d52;
$custom-light: #596583;
$custom-dark: #000000;
JSON
{
  "hex": "#122d52",
  "rgb": {
    "r": 18,
    "g": 45,
    "b": 82
  },
  "hsl": {
    "h": 214.688,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29795,
    "c": 0.07499,
    "h": 257
  },
  "luminance": 0.02615
}

Semantic roles & 50–950 ramp

primary
#122D52
secondary
#8B6735
accent
#A141E7
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050A
muted
#797A7C

Preview Lab

Preview with #122D52

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

Preview Lab → · Contrast checker → · Palette generator →

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