#122E4D#122E4D

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

Color values

HEX#122E4D
RGBrgb(18, 46, 77)
HSLhsl(212, 62%, 19%)
HSVhsv(212, 77%, 30%)
CMYKcmyk(76.6%, 40.3%, 0%, 69.8%)
CIE-LABlab(18.44, 1.52, -22.19)
CIE-LCHlch(18.44, 22.25, 273.91°)
OKLaboklab(29.7% -0.0194 -0.0631)
OKLCHoklch(29.7% 0.066 252.9)
XYZxyz(2.5655, 2.6181, 7.3899)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122E4D #4D3112
analogous
#124B4D #122E4D #13124D
triadic
#122E4D #4D122E #2E4D12
tetradic
#122E4D #4D124B #4D3112 #124D13
square
#122E4D #4D124B #4D3112 #124D13
split-complementary
#122E4D #4D1312 #4B4D12
monochromatic
#060F19 #06101B #122E4D #1E4C7F #2969B0

Accessibility & contrast

On white

13.78
#122E4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122E4D
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122E4D#FFFFFF#000000##FFFFFF
##122E4D1.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20304E
Deuteranopia (green-blind)
#172A4C
Tritanopia (blue-blind)
#003539
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #122e4d;
/* rgb */ color: rgb(18, 46, 77);
/* oklch */ color: oklch(29.7% 0.066 252.9);
Tailwind
colors: {
  custom: {
    50: '#58667f',
    500: '#122e4d',
    950: '#000000',
  },
}
SCSS
$custom: #122e4d;
$custom-light: #58667f;
$custom-dark: #000000;
JSON
{
  "hex": "#122e4d",
  "rgb": {
    "r": 18,
    "g": 46,
    "b": 77
  },
  "hsl": {
    "h": 211.525,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.29704,
    "c": 0.066,
    "h": 252.9
  },
  "luminance": 0.02618
}

Semantic roles & 50–950 ramp

primary
#122E4D
secondary
#865F35
accent
#9843E5
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04050A
muted
#797A7C

Preview Lab

Preview with #122E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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