#126A7C#126A7C

#126A7C is a mid, moderate cyan. Relative luminance 0.119; OKLCH L 48.5% C 0.081 H 215.9°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#126A7C
RGBrgb(18, 106, 124)
HSLhsl(190, 75%, 28%)
HSVhsv(190, 85%, 49%)
CMYKcmyk(85.5%, 14.5%, 0%, 51.4%)
CIE-LABlab(41.04, -17.64, -16.99)
CIE-LCHlch(41.04, 24.49, 223.93°)
OKLaboklab(48.47% -0.0657 -0.0475)
OKLCHoklch(48.47% 0.081 215.9)
XYZxyz(9.0400, 11.8908, 20.8836)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126A7C #7C2412
analogous
#127C59 #126A7C #12357C
triadic
#126A7C #7C126A #6A7C12
tetradic
#126A7C #59127C #7C2412 #357C12
square
#126A7C #59127C #7C2412 #357C12
split-complementary
#126A7C #7C1235 #7C5912
monochromatic
#04171B #0A3C47 #126A7C #1A98B1 #29C1E0

Accessibility & contrast

On white

6.22
#126A7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#126A7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126A7C
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126A7C#FFFFFF#000000##FFFFFF
##126A7C1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E667D
Deuteranopia (green-blind)
#505C7C
Tritanopia (blue-blind)
#007070
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #126a7c;
/* rgb */ color: rgb(18, 106, 124);
/* oklch */ color: oklch(48.5% 0.081 215.9);
Tailwind
colors: {
  custom: {
    50: '#6694a2',
    500: '#126a7c',
    950: '#000000',
  },
}
SCSS
$custom: #126a7c;
$custom-light: #6694a2;
$custom-dark: #000000;
JSON
{
  "hex": "#126a7c",
  "rgb": {
    "r": 18,
    "g": 106,
    "b": 124
  },
  "hsl": {
    "h": 190.189,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.48469,
    "c": 0.08106,
    "h": 215.9
  },
  "luminance": 0.11892
}

Semantic roles & 50–950 ramp

primary
#126A7C
secondary
#B24D38
accent
#5637F1
background
#F6F9F9
surface
#EBF1F2
border
#C6CBCC
text
#070D0F
muted
#7A7E7E

Preview Lab

Preview with #126A7C

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

Preview Lab → · Contrast checker → · Palette generator →

#126A7C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva