#122D4C#122D4C

#122D4C is a dark, moderate cyan. Relative luminance 0.025; OKLCH L 29.4% C 0.066 H 253.6°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#122D4C
RGBrgb(18, 45, 76)
HSLhsl(212, 62%, 18%)
HSVhsv(212, 76%, 30%)
CMYKcmyk(76.3%, 40.8%, 0%, 70.2%)
CIE-LABlab(18.04, 1.81, -22.16)
CIE-LCHlch(18.04, 22.23, 274.68°)
OKLaboklab(29.37% -0.0185 -0.063)
OKLCHoklch(29.37% 0.066 253.6)
XYZxyz(2.4919, 2.5269, 7.1925)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122D4C #4C3112
analogous
#124A4C #122D4C #14124C
triadic
#122D4C #4C122D #2D4C12
tetradic
#122D4C #4C124A #4C3112 #124C14
square
#122D4C #4C124A #4C3112 #124C14
split-complementary
#122D4C #4C1412 #4A4C12
monochromatic
#060F19 #06101B #122D4C #1E4A7D #2968AF

Accessibility & contrast

On white

13.95
#122D4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#122D4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122D4C
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122D4C#FFFFFF#000000##FFFFFF
##122D4C1.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2F4D
Deuteranopia (green-blind)
#172A4B
Tritanopia (blue-blind)
#003438
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #122d4c;
/* rgb */ color: rgb(18, 45, 76);
/* oklch */ color: oklch(29.4% 0.066 253.6);
Tailwind
colors: {
  custom: {
    50: '#58657e',
    500: '#122d4c',
    950: '#000000',
  },
}
SCSS
$custom: #122d4c;
$custom-light: #58657e;
$custom-dark: #000000;
JSON
{
  "hex": "#122d4c",
  "rgb": {
    "r": 18,
    "g": 45,
    "b": 76
  },
  "hsl": {
    "h": 212.069,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.29367,
    "c": 0.06568,
    "h": 253.6
  },
  "luminance": 0.02527
}

Semantic roles & 50–950 ramp

primary
#122D4C
secondary
#856035
accent
#9943E5
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04050A
muted
#797A7C

Preview Lab

Preview with #122D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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