#122B4B#122B4B

#122B4B is a dark, moderate cyan. Relative luminance 0.024; OKLCH L 28.8% C 0.067 H 255.6°. Best body text is #FFFFFF at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#122B4B
RGBrgb(18, 43, 75)
HSLhsl(214, 61%, 18%)
HSVhsv(214, 76%, 29%)
CMYKcmyk(76%, 42.7%, 0%, 70.6%)
CIE-LABlab(17.29, 2.84, -22.67)
CIE-LCHlch(17.29, 22.84, 277.13°)
OKLaboklab(28.76% -0.0165 -0.0645)
OKLCHoklch(28.76% 0.067 255.6)
XYZxyz(2.3829, 2.3641, 6.9860)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122B4B #4B3212
analogous
#12474B #122B4B #15124B
triadic
#122B4B #4B122B #2B4B12
tetradic
#122B4B #4B1247 #4B3212 #124B15
square
#122B4B #4B1247 #4B3212 #124B15
split-complementary
#122B4B #4B1512 #474B12
monochromatic
#060E19 #060F1A #122B4B #1E477C #2A64AE

Accessibility & contrast

On white

14.26
#122B4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122B4B
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122B4B#FFFFFF#000000##FFFFFF
##122B4B1.0014.261.4714.26
#FFFFFF14.261.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2D4C
Deuteranopia (green-blind)
#14284A
Tritanopia (blue-blind)
#003237
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #122b4b;
/* rgb */ color: rgb(18, 43, 75);
/* oklch */ color: oklch(28.8% 0.067 255.6);
Tailwind
colors: {
  custom: {
    50: '#58637d',
    500: '#122b4b',
    950: '#000000',
  },
}
SCSS
$custom: #122b4b;
$custom-light: #58637d;
$custom-dark: #000000;
JSON
{
  "hex": "#122b4b",
  "rgb": {
    "r": 18,
    "g": 43,
    "b": 75
  },
  "hsl": {
    "h": 213.684,
    "s": 61.29,
    "l": 18.235
  },
  "oklch": {
    "l": 0.28764,
    "c": 0.06661,
    "h": 255.6
  },
  "luminance": 0.02364
}

Semantic roles & 50–950 ramp

primary
#122B4B
secondary
#846135
accent
#9E43E4
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#040509
muted
#79797B

Preview Lab

Preview with #122B4B

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

Preview Lab → · Contrast checker → · Palette generator →

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