#12627F#12627F

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

Color values

HEX#12627F
RGBrgb(18, 98, 127)
HSLhsl(196, 75%, 28%)
HSVhsv(196, 86%, 50%)
CMYKcmyk(85.8%, 22.8%, 0%, 50.2%)
CIE-LABlab(38.54, -11.97, -22.67)
CIE-LCHlch(38.54, 25.64, 242.16°)
OKLaboklab(46.5% -0.0563 -0.0638)
OKLCHoklch(46.5% 0.085 228.6)
XYZxyz(8.4463, 10.3952, 21.6359)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12627F #7F2F12
analogous
#127F65 #12627F #122C7F
triadic
#12627F #7F1262 #627F12
tetradic
#12627F #65127F #7F2F12 #2C7F12
square
#12627F #65127F #7F2F12 #2C7F12
split-complementary
#12627F #7F122C #7F6512
monochromatic
#04151B #0A3949 #12627F #1A8BB5 #2BB0E1

Accessibility & contrast

On white

6.82
#12627F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#12627F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12627F
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12627F#FFFFFF#000000##FFFFFF
##12627F1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536080
Deuteranopia (green-blind)
#45567F
Tritanopia (blue-blind)
#006A6C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #12627f;
/* rgb */ color: rgb(18, 98, 127);
/* oklch */ color: oklch(46.5% 0.085 228.6);
Tailwind
colors: {
  custom: {
    50: '#658ea4',
    500: '#12627f',
    950: '#000000',
  },
}
SCSS
$custom: #12627f;
$custom-light: #658ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#12627f",
  "rgb": {
    "r": 18,
    "g": 98,
    "b": 127
  },
  "hsl": {
    "h": 195.963,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.46504,
    "c": 0.08513,
    "h": 228.6
  },
  "luminance": 0.10396
}

Semantic roles & 50–950 ramp

primary
#12627F
secondary
#B55938
accent
#6836F2
background
#F6F8FA
surface
#EBF0F4
border
#C6CBCE
text
#070C0F
muted
#7A7D7F

Preview Lab

Preview with #12627F

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

Preview Lab → · Contrast checker → · Palette generator →

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