#122B4C#122B4C

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

Color values

HEX#122B4C
RGBrgb(18, 43, 76)
HSLhsl(214, 62%, 18%)
HSVhsv(214, 76%, 30%)
CMYKcmyk(76.3%, 43.4%, 0%, 70.2%)
CIE-LABlab(17.36, 3.26, -23.24)
CIE-LCHlch(17.36, 23.47, 277.99°)
OKLaboklab(28.84% -0.0162 -0.0662)
OKLCHoklch(28.84% 0.068 256.2)
XYZxyz(2.4174, 2.3779, 7.1677)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122B4C #4C3312
analogous
#12484C #122B4C #16124C
triadic
#122B4C #4C122B #2B4C12
tetradic
#122B4C #4C1248 #4C3312 #124C16
square
#122B4C #4C1248 #4C3312 #124C16
split-complementary
#122B4C #4C1612 #484C12
monochromatic
#060E19 #060F1B #122B4C #1E477D #2963AF

Accessibility & contrast

On white

14.23
#122B4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#122B4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122B4C
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122B4C#FFFFFF#000000##FFFFFF
##122B4C1.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2E4D
Deuteranopia (green-blind)
#13284B
Tritanopia (blue-blind)
#003337
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #122b4c;
/* rgb */ color: rgb(18, 43, 76);
/* oklch */ color: oklch(28.8% 0.068 256.2);
Tailwind
colors: {
  custom: {
    50: '#58637e',
    500: '#122b4c',
    950: '#000000',
  },
}
SCSS
$custom: #122b4c;
$custom-light: #58637e;
$custom-dark: #000000;
JSON
{
  "hex": "#122b4c",
  "rgb": {
    "r": 18,
    "g": 43,
    "b": 76
  },
  "hsl": {
    "h": 214.138,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.28835,
    "c": 0.06818,
    "h": 256.2
  },
  "luminance": 0.02378
}

Semantic roles & 50–950 ramp

primary
#122B4C
secondary
#856235
accent
#9F43E5
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #122B4C

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

Preview Lab → · Contrast checker → · Palette generator →

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