#122A49#122A49

#122A49 is a dark, moderate cyan. Relative luminance 0.023; OKLCH L 28.4% C 0.065 H 255.8°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#122A49
RGBrgb(18, 42, 73)
HSLhsl(214, 60%, 18%)
HSVhsv(214, 75%, 29%)
CMYKcmyk(75.3%, 42.5%, 0%, 71.4%)
CIE-LABlab(16.82, 2.72, -22.05)
CIE-LCHlch(16.82, 22.22, 277.03°)
OKLaboklab(28.36% -0.0159 -0.0627)
OKLCHoklch(28.36% 0.065 255.8)
XYZxyz(2.2796, 2.2653, 6.6192)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122A49 #493112
analogous
#124549 #122A49 #151249
triadic
#122A49 #49122A #2A4912
tetradic
#122A49 #491245 #493112 #124915
square
#122A49 #491245 #493112 #124915
split-complementary
#122A49 #491512 #454912
monochromatic
#060E19 #060E19 #122A49 #1E467A #2A62AB

Accessibility & contrast

On white

14.45
#122A49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122A49
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122A49#FFFFFF#000000##FFFFFF
##122A491.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2C4A
Deuteranopia (green-blind)
#142748
Tritanopia (blue-blind)
#003136
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #122a49;
/* rgb */ color: rgb(18, 42, 73);
/* oklch */ color: oklch(28.4% 0.065 255.8);
Tailwind
colors: {
  custom: {
    50: '#57637c',
    500: '#122a49',
    950: '#000000',
  },
}
SCSS
$custom: #122a49;
$custom-light: #57637c;
$custom-dark: #000000;
JSON
{
  "hex": "#122a49",
  "rgb": {
    "r": 18,
    "g": 42,
    "b": 73
  },
  "hsl": {
    "h": 213.818,
    "s": 60.44,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28355,
    "c": 0.06473,
    "h": 255.8
  },
  "luminance": 0.02266
}

Semantic roles & 50–950 ramp

primary
#122A49
secondary
#826035
accent
#9E44E4
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#030509
muted
#78797B

Preview Lab

Preview with #122A49

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

Preview Lab → · Contrast checker → · Palette generator →

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