#122A30#122A30

#122A30 is a dark, muted cyan. Relative luminance 0.020; OKLCH L 26.9% C 0.032 H 216.0°. Best body text is #FFFFFF at 15.00:1 contrast (WCAG AA passes).

Color values

HEX#122A30
RGBrgb(18, 42, 48)
HSLhsl(192, 45%, 13%)
HSVhsv(192, 63%, 19%)
CMYKcmyk(62.5%, 12.5%, 0%, 81.2%)
CIE-LABlab(15.48, -7.24, -6.78)
CIE-LCHlch(15.48, 9.92, 223.11°)
OKLaboklab(26.85% -0.0258 -0.0187)
OKLCHoklch(26.85% 0.032 216)
XYZxyz(1.6107, 1.9978, 3.0965)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122A30 #301812
analogous
#123027 #122A30 #121B30
triadic
#122A30 #30122A #2A3012
tetradic
#122A30 #271230 #301812 #1B3012
square
#122A30 #271230 #301812 #1B3012
split-complementary
#122A30 #30121B #302712
monochromatic
#081316 #081316 #122A30 #23515D #337889

Accessibility & contrast

On white

15.00
#122A30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#122A30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122A30
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122A30#FFFFFF#000000##FFFFFF
##122A301.0015.001.4015.00
#FFFFFF15.001.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262930
Deuteranopia (green-blind)
#212530
Tritanopia (blue-blind)
#022C2C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #122a30;
/* rgb */ color: rgb(18, 42, 48);
/* oklch */ color: oklch(26.9% 0.032 216.0);
Tailwind
colors: {
  custom: {
    50: '#536368',
    500: '#122a30',
    950: '#000000',
  },
}
SCSS
$custom: #122a30;
$custom-light: #536368;
$custom-dark: #000000;
JSON
{
  "hex": "#122a30",
  "rgb": {
    "r": 18,
    "g": 42,
    "b": 48
  },
  "hsl": {
    "h": 192,
    "s": 45.455,
    "l": 12.941
  },
  "oklch": {
    "l": 0.2685,
    "c": 0.03189,
    "h": 216
  },
  "luminance": 0.01998
}

Semantic roles & 50–950 ramp

primary
#122A30
secondary
#684036
accent
#6D53D5
background
#F4F5F6
surface
#E7EAEB
border
#C3C6C6
text
#020506
muted
#78797A

Preview Lab

Preview with #122A30

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

Preview Lab → · Contrast checker → · Palette generator →

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