#122C4B#122C4B

#122C4B is a dark, moderate cyan. Relative luminance 0.024; OKLCH L 29.0% C 0.065 H 254.3°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#122C4B
RGBrgb(18, 44, 75)
HSLhsl(213, 61%, 18%)
HSVhsv(213, 76%, 29%)
CMYKcmyk(76%, 41.3%, 0%, 70.6%)
CIE-LABlab(17.63, 2.11, -22.12)
CIE-LCHlch(17.63, 22.22, 275.45°)
OKLaboklab(29.03% -0.0177 -0.0629)
OKLCHoklch(29.03% 0.065 254.3)
XYZxyz(2.4197, 2.4377, 6.9983)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122C4B #4B3112
analogous
#12484B #122C4B #15124B
triadic
#122C4B #4B122C #2C4B12
tetradic
#122C4B #4B1248 #4B3112 #124B15
square
#122C4B #4B1248 #4B3112 #124B15
split-complementary
#122C4B #4B1512 #484B12
monochromatic
#060E19 #060F1A #122C4B #1E497C #2A66AE

Accessibility & contrast

On white

14.12
#122C4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#122C4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122C4B
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122C4B#FFFFFF#000000##FFFFFF
##122C4B1.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2E4C
Deuteranopia (green-blind)
#16294A
Tritanopia (blue-blind)
#003337
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #122c4b;
/* rgb */ color: rgb(18, 44, 75);
/* oklch */ color: oklch(29.0% 0.065 254.3);
Tailwind
colors: {
  custom: {
    50: '#58647d',
    500: '#122c4b',
    950: '#000000',
  },
}
SCSS
$custom: #122c4b;
$custom-light: #58647d;
$custom-dark: #000000;
JSON
{
  "hex": "#122c4b",
  "rgb": {
    "r": 18,
    "g": 44,
    "b": 75
  },
  "hsl": {
    "h": 212.632,
    "s": 61.29,
    "l": 18.235
  },
  "oklch": {
    "l": 0.2903,
    "c": 0.06535,
    "h": 254.3
  },
  "luminance": 0.02438
}

Semantic roles & 50–950 ramp

primary
#122C4B
secondary
#846035
accent
#9B43E4
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#040509
muted
#79797B

Preview Lab

Preview with #122C4B

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

Preview Lab → · Contrast checker → · Palette generator →

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