#12758E#12758E

#12758E is a mid, moderate cyan. Relative luminance 0.148; OKLCH L 52.2% C 0.091 H 220.6°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#12758E
RGBrgb(18, 117, 142)
HSLhsl(192, 78%, 31%)
HSVhsv(192, 87%, 56%)
CMYKcmyk(87.3%, 17.6%, 0%, 44.3%)
CIE-LABlab(45.36, -17.26, -21.14)
CIE-LCHlch(45.36, 27.29, 230.77°)
OKLaboklab(52.19% -0.0691 -0.0593)
OKLCHoklch(52.19% 0.091 220.6)
XYZxyz(11.4911, 14.8027, 27.8375)
Luminance0.1480 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12758E #8E2B12
analogous
#128E69 #12758E #12378E
triadic
#12758E #8E1275 #758E12
tetradic
#12758E #69128E #8E2B12 #378E12
square
#12758E #69128E #8E2B12 #378E12
split-complementary
#12758E #8E1237 #8E6912
monochromatic
#041B21 #0B4858 #12758E #19A2C4 #35C2E5

Accessibility & contrast

On white

5.30
#12758E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#12758E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12758E
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12758E#FFFFFF#000000##FFFFFF
##12758E1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12758e;
/* rgb */ color: rgb(18, 117, 142);
/* oklch */ color: oklch(52.2% 0.091 220.6);
Tailwind
colors: {
  custom: {
    50: '#6a9daf',
    500: '#12758e',
    950: '#000000',
  },
}
SCSS
$custom: #12758e;
$custom-light: #6a9daf;
$custom-dark: #000000;
JSON
{
  "hex": "#12758e",
  "rgb": {
    "r": 18,
    "g": 117,
    "b": 142
  },
  "hsl": {
    "h": 192.097,
    "s": 77.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52193,
    "c": 0.091,
    "h": 220.6
  },
  "luminance": 0.14804
}

Semantic roles & 50–950 ramp

primary
#12758E
secondary
#C2553A
accent
#5B34F4
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E10
muted
#7A7E7F

Preview Lab

Preview with #12758E

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

Preview Lab → · Contrast checker → · Palette generator →

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