#12627E#12627E

#12627E is a mid, moderate cyan. Relative luminance 0.104; OKLCH L 46.5% C 0.084 H 227.6°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#12627E
RGBrgb(18, 98, 126)
HSLhsl(196, 75%, 28%)
HSVhsv(196, 86%, 49%)
CMYKcmyk(85.7%, 22.2%, 0%, 50.6%)
CIE-LABlab(38.50, -12.35, -22.13)
CIE-LCHlch(38.50, 25.34, 240.84°)
OKLaboklab(46.45% -0.0567 -0.0622)
OKLCHoklch(46.45% 0.084 227.6)
XYZxyz(8.3815, 10.3693, 21.2943)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12627E #7E2E12
analogous
#127E64 #12627E #122C7E
triadic
#12627E #7E1262 #627E12
tetradic
#12627E #64127E #7E2E12 #2C7E12
square
#12627E #64127E #7E2E12 #2C7E12
split-complementary
#12627E #7E122C #7E6412
monochromatic
#04151B #0A3848 #12627E #1A8CB4 #2AB1E1

Accessibility & contrast

On white

6.83
#12627E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#12627E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12627E
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12627E#FFFFFF#000000##FFFFFF
##12627E1.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53607F
Deuteranopia (green-blind)
#45567E
Tritanopia (blue-blind)
#006A6B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #12627e;
/* rgb */ color: rgb(18, 98, 126);
/* oklch */ color: oklch(46.5% 0.084 227.6);
Tailwind
colors: {
  custom: {
    50: '#658ea3',
    500: '#12627e',
    950: '#000000',
  },
}
SCSS
$custom: #12627e;
$custom-light: #658ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#12627e",
  "rgb": {
    "r": 18,
    "g": 98,
    "b": 126
  },
  "hsl": {
    "h": 195.556,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.46453,
    "c": 0.08424,
    "h": 227.6
  },
  "luminance": 0.1037
}

Semantic roles & 50–950 ramp

primary
#12627E
secondary
#B45838
accent
#6736F2
background
#F6F8FA
surface
#EBF0F3
border
#C6CBCD
text
#070C0F
muted
#7A7D7F

Preview Lab

Preview with #12627E

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

Preview Lab → · Contrast checker → · Palette generator →

#12627E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva