#122E4E#122E4E

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

Color values

HEX#122E4E
RGBrgb(18, 46, 78)
HSLhsl(212, 63%, 19%)
HSVhsv(212, 77%, 31%)
CMYKcmyk(76.9%, 41%, 0%, 69.4%)
CIE-LABlab(18.51, 1.94, -22.77)
CIE-LCHlch(18.51, 22.85, 274.86°)
OKLaboklab(29.77% -0.0191 -0.0648)
OKLCHoklch(29.77% 0.068 253.6)
XYZxyz(2.6011, 2.6324, 7.5773)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122E4E #4E3212
analogous
#124C4E #122E4E #14124E
triadic
#122E4E #4E122E #2E4E12
tetradic
#122E4E #4E124C #4E3212 #124E14
square
#122E4E #4E124C #4E3212 #124E14
split-complementary
#122E4E #4E1412 #4C4E12
monochromatic
#060F19 #07111C #122E4E #1D4B80 #2969B1

Accessibility & contrast

On white

13.76
#122E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#122E4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122E4E
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122E4E#FFFFFF#000000##FFFFFF
##122E4E1.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20304F
Deuteranopia (green-blind)
#172B4D
Tritanopia (blue-blind)
#00353A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #122e4e;
/* rgb */ color: rgb(18, 46, 78);
/* oklch */ color: oklch(29.8% 0.068 253.6);
Tailwind
colors: {
  custom: {
    50: '#586680',
    500: '#122e4e',
    950: '#000000',
  },
}
SCSS
$custom: #122e4e;
$custom-light: #586680;
$custom-dark: #000000;
JSON
{
  "hex": "#122e4e",
  "rgb": {
    "r": 18,
    "g": 46,
    "b": 78
  },
  "hsl": {
    "h": 212,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.29773,
    "c": 0.06753,
    "h": 253.6
  },
  "luminance": 0.02633
}

Semantic roles & 50–950 ramp

primary
#122E4E
secondary
#876135
accent
#9942E6
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04050A
muted
#797A7C

Preview Lab

Preview with #122E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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