#122B4A#122B4A

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

Color values

HEX#122B4A
RGBrgb(18, 43, 74)
HSLhsl(213, 61%, 18%)
HSVhsv(213, 76%, 29%)
CMYKcmyk(75.7%, 41.9%, 0%, 71%)
CIE-LABlab(17.23, 2.41, -22.09)
CIE-LCHlch(17.23, 22.22, 276.23°)
OKLaboklab(28.69% -0.0168 -0.0628)
OKLCHoklch(28.69% 0.065 255)
XYZxyz(2.3489, 2.3505, 6.8071)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122B4A #4A3112
analogous
#12474A #122B4A #15124A
triadic
#122B4A #4A122B #2B4A12
tetradic
#122B4A #4A1247 #4A3112 #124A15
square
#122B4A #4A1247 #4A3112 #124A15
split-complementary
#122B4A #4A1512 #474A12
monochromatic
#060E19 #060E19 #122B4A #1E487B #2A64AC

Accessibility & contrast

On white

14.28
#122B4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#122B4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122B4A
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122B4A#FFFFFF#000000##FFFFFF
##122B4A1.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2D4B
Deuteranopia (green-blind)
#152849
Tritanopia (blue-blind)
#003236
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #122b4a;
/* rgb */ color: rgb(18, 43, 74);
/* oklch */ color: oklch(28.7% 0.065 255.0);
Tailwind
colors: {
  custom: {
    50: '#58637c',
    500: '#122b4a',
    950: '#000000',
  },
}
SCSS
$custom: #122b4a;
$custom-light: #58637c;
$custom-dark: #000000;
JSON
{
  "hex": "#122b4a",
  "rgb": {
    "r": 18,
    "g": 43,
    "b": 74
  },
  "hsl": {
    "h": 213.214,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.28693,
    "c": 0.06504,
    "h": 255
  },
  "luminance": 0.02351
}

Semantic roles & 50–950 ramp

primary
#122B4A
secondary
#836035
accent
#9C44E4
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#030509
muted
#78797B

Preview Lab

Preview with #122B4A

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

Preview Lab → · Contrast checker → · Palette generator →

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