#122D4D#122D4D

#122D4D is a dark, moderate cyan. Relative luminance 0.025; OKLCH L 29.4% C 0.067 H 254.3°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#122D4D
RGBrgb(18, 45, 77)
HSLhsl(213, 62%, 19%)
HSVhsv(213, 77%, 30%)
CMYKcmyk(76.6%, 41.6%, 0%, 69.8%)
CIE-LABlab(18.10, 2.24, -22.74)
CIE-LCHlch(18.10, 22.85, 275.61°)
OKLaboklab(29.44% -0.0182 -0.0647)
OKLCHoklch(29.44% 0.067 254.3)
XYZxyz(2.5269, 2.5409, 7.3770)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122D4D #4D3212
analogous
#124A4D #122D4D #14124D
triadic
#122D4D #4D122D #2D4D12
tetradic
#122D4D #4D124A #4D3212 #124D14
square
#122D4D #4D124A #4D3212 #124D14
split-complementary
#122D4D #4D1412 #4A4D12
monochromatic
#060E19 #06101B #122D4D #1E4A7F #2967B0

Accessibility & contrast

On white

13.92
#122D4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#122D4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122D4D
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122D4D#FFFFFF#000000##FFFFFF
##122D4D1.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2F4E
Deuteranopia (green-blind)
#162A4C
Tritanopia (blue-blind)
#003439
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #122d4d;
/* rgb */ color: rgb(18, 45, 77);
/* oklch */ color: oklch(29.4% 0.067 254.3);
Tailwind
colors: {
  custom: {
    50: '#58657f',
    500: '#122d4d',
    950: '#000000',
  },
}
SCSS
$custom: #122d4d;
$custom-light: #58657f;
$custom-dark: #000000;
JSON
{
  "hex": "#122d4d",
  "rgb": {
    "r": 18,
    "g": 45,
    "b": 77
  },
  "hsl": {
    "h": 212.542,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.29437,
    "c": 0.06722,
    "h": 254.3
  },
  "luminance": 0.02541
}

Semantic roles & 50–950 ramp

primary
#122D4D
secondary
#866135
accent
#9B43E5
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04050A
muted
#797A7C

Preview Lab

Preview with #122D4D

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

Preview Lab → · Contrast checker → · Palette generator →

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