#12748E#12748E

#12748E is a mid, moderate cyan. Relative luminance 0.146; OKLCH L 51.9% C 0.091 H 221.7°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#12748E
RGBrgb(18, 116, 142)
HSLhsl(193, 78%, 31%)
HSVhsv(193, 87%, 56%)
CMYKcmyk(87.3%, 18.3%, 0%, 44.3%)
CIE-LABlab(45.04, -16.70, -21.64)
CIE-LCHlch(45.04, 27.33, 232.33°)
OKLaboklab(51.93% -0.0681 -0.0607)
OKLCHoklch(51.93% 0.091 221.7)
XYZxyz(11.3753, 14.5709, 27.7989)
Luminance0.1457 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12748E #8E2C12
analogous
#128E6A #12748E #12368E
triadic
#12748E #8E1274 #748E12
tetradic
#12748E #6A128E #8E2C12 #368E12
square
#12748E #6A128E #8E2C12 #368E12
split-complementary
#12748E #8E1236 #8E6A12
monochromatic
#041B21 #0B4858 #12748E #19A0C4 #35C0E5

Accessibility & contrast

On white

5.36
#12748E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#12748E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12748E
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12748E#FFFFFF#000000##FFFFFF
##12748E1.005.363.915.36
#FFFFFF5.361.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65718F
Deuteranopia (green-blind)
#55668E
Tritanopia (blue-blind)
#007C7C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #12748e;
/* rgb */ color: rgb(18, 116, 142);
/* oklch */ color: oklch(51.9% 0.091 221.7);
Tailwind
colors: {
  custom: {
    50: '#6a9caf',
    500: '#12748e',
    950: '#000000',
  },
}
SCSS
$custom: #12748e;
$custom-light: #6a9caf;
$custom-dark: #000000;
JSON
{
  "hex": "#12748e",
  "rgb": {
    "r": 18,
    "g": 116,
    "b": 142
  },
  "hsl": {
    "h": 192.581,
    "s": 77.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.51934,
    "c": 0.0912,
    "h": 221.7
  },
  "luminance": 0.14572
}

Semantic roles & 50–950 ramp

primary
#12748E
secondary
#C2563A
accent
#5C34F4
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E10
muted
#7A7E7F

Preview Lab

Preview with #12748E

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

Preview Lab → · Contrast checker → · Palette generator →

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