#122B48#122B48

#122B48 is a dark, moderate cyan. Relative luminance 0.023; OKLCH L 28.6% C 0.062 H 253.7°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#122B48
RGBrgb(18, 43, 72)
HSLhsl(212, 60%, 18%)
HSVhsv(212, 75%, 28%)
CMYKcmyk(75%, 40.3%, 0%, 71.8%)
CIE-LABlab(17.10, 1.57, -20.92)
CIE-LCHlch(17.10, 20.98, 274.29°)
OKLaboklab(28.55% -0.0174 -0.0594)
OKLCHoklch(28.55% 0.062 253.7)
XYZxyz(2.2826, 2.3240, 6.4579)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122B48 #482F12
analogous
#124648 #122B48 #141248
triadic
#122B48 #48122B #2B4812
tetradic
#122B48 #481246 #482F12 #124814
square
#122B48 #481246 #482F12 #124814
split-complementary
#122B48 #481412 #464812
monochromatic
#060F18 #060F18 #122B48 #1E4879 #2A65AA

Accessibility & contrast

On white

14.34
#122B48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#122B48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122B48
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122B48#FFFFFF#000000##FFFFFF
##122B481.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #122b48;
/* rgb */ color: rgb(18, 43, 72);
/* oklch */ color: oklch(28.6% 0.062 253.7);
Tailwind
colors: {
  custom: {
    50: '#57647b',
    500: '#122b48',
    950: '#000000',
  },
}
SCSS
$custom: #122b48;
$custom-light: #57647b;
$custom-dark: #000000;
JSON
{
  "hex": "#122b48",
  "rgb": {
    "r": 18,
    "g": 43,
    "b": 72
  },
  "hsl": {
    "h": 212.222,
    "s": 60,
    "l": 17.647
  },
  "oklch": {
    "l": 0.28554,
    "c": 0.06191,
    "h": 253.7
  },
  "luminance": 0.02324
}

Semantic roles & 50–950 ramp

primary
#122B48
secondary
#815E35
accent
#9A45E3
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#030509
muted
#78797B

Preview Lab

Preview with #122B48

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

Preview Lab → · Contrast checker → · Palette generator →

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