#122940#122940

#122940 is a dark, muted cyan. Relative luminance 0.021; OKLCH L 27.5% C 0.052 H 250.2°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#122940
RGBrgb(18, 41, 64)
HSLhsl(210, 56%, 16%)
HSVhsv(210, 72%, 25%)
CMYKcmyk(71.9%, 35.9%, 0%, 74.9%)
CIE-LABlab(15.92, -0.32, -17.28)
CIE-LCHlch(15.92, 17.28, 268.95°)
OKLaboklab(27.47% -0.0175 -0.0488)
OKLCHoklch(27.47% 0.052 250.2)
XYZxyz(1.9675, 2.0844, 5.1481)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122940 #402912
analogous
#124040 #122940 #121240
triadic
#122940 #401229 #294012
tetradic
#122940 #401240 #402912 #124012
square
#122940 #401240 #402912 #124012
split-complementary
#122940 #401212 #404012
monochromatic
#070F18 #070F18 #122940 #1F4870 #2D66A0

Accessibility & contrast

On white

14.82
#122940 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#122940 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122940
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122940#FFFFFF#000000##FFFFFF
##1229401.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2A41
Deuteranopia (green-blind)
#192640
Tritanopia (blue-blind)
#002E31
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #122940;
/* rgb */ color: rgb(18, 41, 64);
/* oklch */ color: oklch(27.5% 0.052 250.2);
Tailwind
colors: {
  custom: {
    50: '#556275',
    500: '#122940',
    950: '#000000',
  },
}
SCSS
$custom: #122940;
$custom-light: #556275;
$custom-dark: #000000;
JSON
{
  "hex": "#122940",
  "rgb": {
    "r": 18,
    "g": 41,
    "b": 64
  },
  "hsl": {
    "h": 210,
    "s": 56.098,
    "l": 16.078
  },
  "oklch": {
    "l": 0.27473,
    "c": 0.05187,
    "h": 250.2
  },
  "luminance": 0.02085
}

Semantic roles & 50–950 ramp

primary
#122940
secondary
#795735
accent
#9448DF
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#030508
muted
#78797B

Preview Lab

Preview with #122940

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

Preview Lab → · Contrast checker → · Palette generator →

#122940 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva