#122D4B#122D4B

#122D4B is a dark, moderate cyan. Relative luminance 0.025; OKLCH L 29.3% C 0.064 H 252.9°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#122D4B
RGBrgb(18, 45, 75)
HSLhsl(212, 61%, 18%)
HSVhsv(212, 76%, 29%)
CMYKcmyk(76%, 40%, 0%, 70.6%)
CIE-LABlab(17.98, 1.39, -21.58)
CIE-LCHlch(17.98, 21.62, 273.69°)
OKLaboklab(29.3% -0.0188 -0.0613)
OKLCHoklch(29.3% 0.064 252.9)
XYZxyz(2.4574, 2.5131, 7.0108)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122D4B #4B3012
analogous
#12494B #122D4B #13124B
triadic
#122D4B #4B122D #2D4B12
tetradic
#122D4B #4B1249 #4B3012 #124B13
square
#122D4B #4B1249 #4B3012 #124B13
split-complementary
#122D4B #4B1312 #494B12
monochromatic
#060F19 #060F1A #122D4B #1E4B7C #2A68AE

Accessibility & contrast

On white

13.98
#122D4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#122D4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122D4B
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122D4B#FFFFFF#000000##FFFFFF
##122D4B1.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202F4C
Deuteranopia (green-blind)
#172A4A
Tritanopia (blue-blind)
#003438
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #122d4b;
/* rgb */ color: rgb(18, 45, 75);
/* oklch */ color: oklch(29.3% 0.064 252.9);
Tailwind
colors: {
  custom: {
    50: '#58657d',
    500: '#122d4b',
    950: '#000000',
  },
}
SCSS
$custom: #122d4b;
$custom-light: #58657d;
$custom-dark: #000000;
JSON
{
  "hex": "#122d4b",
  "rgb": {
    "r": 18,
    "g": 45,
    "b": 75
  },
  "hsl": {
    "h": 211.579,
    "s": 61.29,
    "l": 18.235
  },
  "oklch": {
    "l": 0.29298,
    "c": 0.06414,
    "h": 252.9
  },
  "luminance": 0.02513
}

Semantic roles & 50–950 ramp

primary
#122D4B
secondary
#845E35
accent
#9843E4
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#040509
muted
#797A7B

Preview Lab

Preview with #122D4B

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

Preview Lab → · Contrast checker → · Palette generator →

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