#12758F#12758F

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

Color values

HEX#12758F
RGBrgb(18, 117, 143)
HSLhsl(192, 78%, 32%)
HSVhsv(192, 87%, 56%)
CMYKcmyk(87.4%, 18.2%, 0%, 43.9%)
CIE-LABlab(45.40, -16.90, -21.67)
CIE-LCHlch(45.40, 27.48, 232.05°)
OKLaboklab(52.24% -0.0686 -0.0608)
OKLCHoklch(52.24% 0.092 221.5)
XYZxyz(11.5666, 14.8329, 28.2347)
Luminance0.1483 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12758F #8F2C12
analogous
#128F6B #12758F #12378F
triadic
#12758F #8F1275 #758F12
tetradic
#12758F #6B128F #8F2C12 #378F12
square
#12758F #6B128F #8F2C12 #378F12
split-complementary
#12758F #8F1237 #8F6B12
monochromatic
#041C22 #0B4959 #12758F #19A1C5 #36C1E6

Accessibility & contrast

On white

5.29
#12758F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#12758F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12758F
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12758F#FFFFFF#000000##FFFFFF
##12758F1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#667290
Deuteranopia (green-blind)
#56678F
Tritanopia (blue-blind)
#007D7D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #12758f;
/* rgb */ color: rgb(18, 117, 143);
/* oklch */ color: oklch(52.2% 0.092 221.5);
Tailwind
colors: {
  custom: {
    50: '#6a9db0',
    500: '#12758f',
    950: '#000000',
  },
}
SCSS
$custom: #12758f;
$custom-light: #6a9db0;
$custom-dark: #000000;
JSON
{
  "hex": "#12758f",
  "rgb": {
    "r": 18,
    "g": 117,
    "b": 143
  },
  "hsl": {
    "h": 192.48,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5224,
    "c": 0.09169,
    "h": 221.5
  },
  "luminance": 0.14834
}

Semantic roles & 50–950 ramp

primary
#12758F
secondary
#C3563A
accent
#5C34F4
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E10
muted
#7A7E7F

Preview Lab

Preview with #12758F

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

Preview Lab → · Contrast checker → · Palette generator →

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