#122E4F#122E4F

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

Color values

HEX#122E4F
RGBrgb(18, 46, 79)
HSLhsl(212, 63%, 19%)
HSVhsv(212, 77%, 31%)
CMYKcmyk(77.2%, 41.8%, 0%, 69%)
CIE-LABlab(18.57, 2.36, -23.34)
CIE-LCHlch(18.57, 23.46, 275.78°)
OKLaboklab(29.84% -0.0188 -0.0665)
OKLCHoklch(29.84% 0.069 254.2)
XYZxyz(2.6372, 2.6468, 7.7675)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122E4F #4F3312
analogous
#124D4F #122E4F #15124F
triadic
#122E4F #4F122E #2E4F12
tetradic
#122E4F #4F124D #4F3312 #124F15
square
#122E4F #4F124D #4F3312 #124F15
split-complementary
#122E4F #4F1512 #4D4F12
monochromatic
#060F19 #07111D #122E4F #1D4B81 #2968B3

Accessibility & contrast

On white

13.73
#122E4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122E4F
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122E4F#FFFFFF#000000##FFFFFF
##122E4F1.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3050
Deuteranopia (green-blind)
#162B4E
Tritanopia (blue-blind)
#00363A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #122e4f;
/* rgb */ color: rgb(18, 46, 79);
/* oklch */ color: oklch(29.8% 0.069 254.2);
Tailwind
colors: {
  custom: {
    50: '#596680',
    500: '#122e4f',
    950: '#000000',
  },
}
SCSS
$custom: #122e4f;
$custom-light: #596680;
$custom-dark: #000000;
JSON
{
  "hex": "#122e4f",
  "rgb": {
    "r": 18,
    "g": 46,
    "b": 79
  },
  "hsl": {
    "h": 212.459,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29843,
    "c": 0.06907,
    "h": 254.2
  },
  "luminance": 0.02647
}

Semantic roles & 50–950 ramp

primary
#122E4F
secondary
#886235
accent
#9B42E6
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04050A
muted
#797A7C

Preview Lab

Preview with #122E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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