#122E51#122E51

#122E51 is a dark, moderate cyan. Relative luminance 0.027; OKLCH L 30.0% C 0.072 H 255.3°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#122E51
RGBrgb(18, 46, 81)
HSLhsl(213, 64%, 19%)
HSVhsv(213, 78%, 32%)
CMYKcmyk(77.8%, 43.2%, 0%, 68.2%)
CIE-LABlab(18.70, 3.21, -24.49)
CIE-LCHlch(18.70, 24.70, 277.47°)
OKLaboklab(29.98% -0.0182 -0.0698)
OKLCHoklch(29.98% 0.072 255.3)
XYZxyz(2.7111, 2.6764, 8.1567)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122E51 #513512
analogous
#124E51 #122E51 #161251
triadic
#122E51 #51122E #2E5112
tetradic
#122E51 #51124E #513512 #125116
square
#122E51 #51124E #513512 #125116
split-complementary
#122E51 #511612 #4E5112
monochromatic
#060E19 #07121F #122E51 #1D4A83 #2867B5

Accessibility & contrast

On white

13.68
#122E51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#122E51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122E51
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122E51#FFFFFF#000000##FFFFFF
##122E511.0013.681.5413.68
#FFFFFF13.681.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3152
Deuteranopia (green-blind)
#142B50
Tritanopia (blue-blind)
#00363B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #122e51;
/* rgb */ color: rgb(18, 46, 81);
/* oklch */ color: oklch(30.0% 0.072 255.3);
Tailwind
colors: {
  custom: {
    50: '#596682',
    500: '#122e51',
    950: '#000000',
  },
}
SCSS
$custom: #122e51;
$custom-light: #596682;
$custom-dark: #000000;
JSON
{
  "hex": "#122e51",
  "rgb": {
    "r": 18,
    "g": 46,
    "b": 81
  },
  "hsl": {
    "h": 213.333,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29984,
    "c": 0.07216,
    "h": 255.3
  },
  "luminance": 0.02677
}

Semantic roles & 50–950 ramp

primary
#122E51
secondary
#8A6435
accent
#9D41E7
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04050A
muted
#797A7C

Preview Lab

Preview with #122E51

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

Preview Lab → · Contrast checker → · Palette generator →

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