#12758D#12758D

#12758D is a mid, moderate cyan. Relative luminance 0.148; OKLCH L 52.1% C 0.090 H 219.7°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#12758D
RGBrgb(18, 117, 141)
HSLhsl(192, 77%, 31%)
HSVhsv(192, 87%, 55%)
CMYKcmyk(87.2%, 17%, 0%, 44.7%)
CIE-LABlab(45.32, -17.62, -20.61)
CIE-LCHlch(45.32, 27.11, 229.47°)
OKLaboklab(52.15% -0.0695 -0.0577)
OKLCHoklch(52.15% 0.09 219.7)
XYZxyz(11.4164, 14.7728, 27.4439)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12758D #8D2A12
analogous
#128D67 #12758D #12378D
triadic
#12758D #8D1275 #758D12
tetradic
#12758D #67128D #8D2A12 #378D12
square
#12758D #67128D #8D2A12 #378D12
split-complementary
#12758D #8D1237 #8D6712
monochromatic
#041B20 #0B4857 #12758D #19A2C3 #34C3E5

Accessibility & contrast

On white

5.31
#12758D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#12758D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12758D
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12758D#FFFFFF#000000##FFFFFF
##12758D1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#66728E
Deuteranopia (green-blind)
#57668D
Tritanopia (blue-blind)
#007D7D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #12758d;
/* rgb */ color: rgb(18, 117, 141);
/* oklch */ color: oklch(52.1% 0.090 219.7);
Tailwind
colors: {
  custom: {
    50: '#6a9dae',
    500: '#12758d',
    950: '#000000',
  },
}
SCSS
$custom: #12758d;
$custom-light: #6a9dae;
$custom-dark: #000000;
JSON
{
  "hex": "#12758d",
  "rgb": {
    "r": 18,
    "g": 117,
    "b": 141
  },
  "hsl": {
    "h": 191.707,
    "s": 77.358,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52146,
    "c": 0.09035,
    "h": 219.7
  },
  "luminance": 0.14774
}

Semantic roles & 50–950 ramp

primary
#12758D
secondary
#C15439
accent
#5934F4
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E10
muted
#7A7E7F

Preview Lab

Preview with #12758D

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

Preview Lab → · Contrast checker → · Palette generator →

#12758D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva