#122A47#122A47

#122A47 is a dark, moderate cyan. Relative luminance 0.022; OKLCH L 28.2% C 0.062 H 254.5°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#122A47
RGBrgb(18, 42, 71)
HSLhsl(213, 60%, 17%)
HSVhsv(213, 75%, 28%)
CMYKcmyk(74.6%, 40.8%, 0%, 72.2%)
CIE-LABlab(16.70, 1.87, -20.88)
CIE-LCHlch(16.70, 20.97, 275.13°)
OKLaboklab(28.22% -0.0165 -0.0593)
OKLCHoklch(28.22% 0.062 254.5)
XYZxyz(2.2143, 2.2392, 6.2755)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122A47 #472F12
analogous
#124547 #122A47 #141247
triadic
#122A47 #47122A #2A4712
tetradic
#122A47 #471245 #472F12 #124714
square
#122A47 #471245 #472F12 #124714
split-complementary
#122A47 #471412 #454712
monochromatic
#060E18 #060E18 #122A47 #1E4778 #2B64A9

Accessibility & contrast

On white

14.50
#122A47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#122A47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122A47
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122A47#FFFFFF#000000##FFFFFF
##122A471.0014.501.4514.50
#FFFFFF14.501.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2C48
Deuteranopia (green-blind)
#162746
Tritanopia (blue-blind)
#003135
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #122a47;
/* rgb */ color: rgb(18, 42, 71);
/* oklch */ color: oklch(28.2% 0.062 254.5);
Tailwind
colors: {
  custom: {
    50: '#57637a',
    500: '#122a47',
    950: '#000000',
  },
}
SCSS
$custom: #122a47;
$custom-light: #57637a;
$custom-dark: #000000;
JSON
{
  "hex": "#122a47",
  "rgb": {
    "r": 18,
    "g": 42,
    "b": 71
  },
  "hsl": {
    "h": 212.83,
    "s": 59.551,
    "l": 17.451
  },
  "oklch": {
    "l": 0.28215,
    "c": 0.06157,
    "h": 254.5
  },
  "luminance": 0.02239
}

Semantic roles & 50–950 ramp

primary
#122A47
secondary
#805E35
accent
#9B45E3
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#030509
muted
#78797B

Preview Lab

Preview with #122A47

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

Preview Lab → · Contrast checker → · Palette generator →

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