#122B49#122B49

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

Color values

HEX#122B49
RGBrgb(18, 43, 73)
HSLhsl(213, 60%, 18%)
HSVhsv(213, 75%, 29%)
CMYKcmyk(75.3%, 41.1%, 0%, 71.4%)
CIE-LABlab(17.17, 1.99, -21.50)
CIE-LCHlch(17.17, 21.60, 275.29°)
OKLaboklab(28.62% -0.0171 -0.0611)
OKLCHoklch(28.62% 0.063 254.4)
XYZxyz(2.3155, 2.3372, 6.6311)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122B49 #493012
analogous
#124649 #122B49 #141249
triadic
#122B49 #49122B #2B4912
tetradic
#122B49 #491246 #493012 #124914
square
#122B49 #491246 #493012 #124914
split-complementary
#122B49 #491412 #464912
monochromatic
#060E19 #060E19 #122B49 #1E487A #2A65AB

Accessibility & contrast

On white

14.31
#122B49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122B49
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122B49#FFFFFF#000000##FFFFFF
##122B491.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #122b49;
/* rgb */ color: rgb(18, 43, 73);
/* oklch */ color: oklch(28.6% 0.063 254.4);
Tailwind
colors: {
  custom: {
    50: '#57647c',
    500: '#122b49',
    950: '#000000',
  },
}
SCSS
$custom: #122b49;
$custom-light: #57647c;
$custom-dark: #000000;
JSON
{
  "hex": "#122b49",
  "rgb": {
    "r": 18,
    "g": 43,
    "b": 73
  },
  "hsl": {
    "h": 212.727,
    "s": 60.44,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28623,
    "c": 0.06347,
    "h": 254.4
  },
  "luminance": 0.02337
}

Semantic roles & 50–950 ramp

primary
#122B49
secondary
#825F35
accent
#9B44E4
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#030509
muted
#78797B

Preview Lab

Preview with #122B49

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

Preview Lab → · Contrast checker → · Palette generator →

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