#126279#126279

#126279 is a mid, moderate cyan. Relative luminance 0.102; OKLCH L 46.2% C 0.080 H 222.8°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#126279
RGBrgb(18, 98, 121)
HSLhsl(193, 74%, 27%)
HSVhsv(193, 85%, 47%)
CMYKcmyk(85.1%, 19%, 0%, 52.5%)
CIE-LABlab(38.28, -14.22, -19.42)
CIE-LCHlch(38.28, 24.07, 233.79°)
OKLaboklab(46.2% -0.0588 -0.0545)
OKLCHoklch(46.2% 0.08 222.8)
XYZxyz(8.0669, 10.2434, 19.6375)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126279 #792912
analogous
#12795D #126279 #122F79
triadic
#126279 #791262 #627912
tetradic
#126279 #5D1279 #792912 #2F7912
square
#126279 #5D1279 #792912 #2F7912
split-complementary
#126279 #79122F #795D12
monochromatic
#04161B #0A3744 #126279 #1A8DAE #27B6DF

Accessibility & contrast

On white

6.89
#126279 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#126279 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126279
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126279#FFFFFF#000000##FFFFFF
##1262791.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555F7A
Deuteranopia (green-blind)
#475679
Tritanopia (blue-blind)
#006969
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #126279;
/* rgb */ color: rgb(18, 98, 121);
/* oklch */ color: oklch(46.2% 0.080 222.8);
Tailwind
colors: {
  custom: {
    50: '#648e9f',
    500: '#126279',
    950: '#000000',
  },
}
SCSS
$custom: #126279;
$custom-light: #648e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#126279",
  "rgb": {
    "r": 18,
    "g": 98,
    "b": 121
  },
  "hsl": {
    "h": 193.398,
    "s": 74.101,
    "l": 27.255
  },
  "oklch": {
    "l": 0.46202,
    "c": 0.08014,
    "h": 222.8
  },
  "luminance": 0.10244
}

Semantic roles & 50–950 ramp

primary
#126279
secondary
#AF5238
accent
#6137F1
background
#F6F8F9
surface
#EBF0F2
border
#C6CBCC
text
#060C0E
muted
#7A7D7E

Preview Lab

Preview with #126279

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

Preview Lab → · Contrast checker → · Palette generator →

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