#12748A#12748A

#12748A is a mid, moderate cyan. Relative luminance 0.145; OKLCH L 51.7% C 0.089 H 218.1°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#12748A
RGBrgb(18, 116, 138)
HSLhsl(191, 77%, 31%)
HSVhsv(191, 87%, 54%)
CMYKcmyk(87%, 15.9%, 0%, 45.9%)
CIE-LABlab(44.88, -18.14, -19.51)
CIE-LCHlch(44.88, 26.64, 227.08°)
OKLaboklab(51.75% -0.0697 -0.0546)
OKLCHoklch(51.75% 0.089 218.1)
XYZxyz(11.0803, 14.4529, 26.2455)
Luminance0.1445 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12748A #8A2812
analogous
#128A64 #12748A #12388A
triadic
#12748A #8A1274 #748A12
tetradic
#12748A #64128A #8A2812 #388A12
square
#12748A #64128A #8A2812 #388A12
split-complementary
#12748A #8A1238 #8A6412
monochromatic
#04191E #0B4654 #12748A #19A2C0 #32C4E4

Accessibility & contrast

On white

5.40
#12748A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#12748A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12748A
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12748A#FFFFFF#000000##FFFFFF
##12748A1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#66708B
Deuteranopia (green-blind)
#57658A
Tritanopia (blue-blind)
#007B7B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #12748a;
/* rgb */ color: rgb(18, 116, 138);
/* oklch */ color: oklch(51.7% 0.089 218.1);
Tailwind
colors: {
  custom: {
    50: '#699cac',
    500: '#12748a',
    950: '#000000',
  },
}
SCSS
$custom: #12748a;
$custom-light: #699cac;
$custom-dark: #000000;
JSON
{
  "hex": "#12748a",
  "rgb": {
    "r": 18,
    "g": 116,
    "b": 138
  },
  "hsl": {
    "h": 191,
    "s": 76.923,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51746,
    "c": 0.08858,
    "h": 218.1
  },
  "luminance": 0.14454
}

Semantic roles & 50–950 ramp

primary
#12748A
secondary
#BF5239
accent
#5734F3
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E10
muted
#7A7E7F

Preview Lab

Preview with #12748A

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

Preview Lab → · Contrast checker → · Palette generator →

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