#12748D#12748D

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

Color values

HEX#12748D
RGBrgb(18, 116, 141)
HSLhsl(192, 77%, 31%)
HSVhsv(192, 87%, 55%)
CMYKcmyk(87.2%, 17.7%, 0%, 44.7%)
CIE-LABlab(45.00, -17.07, -21.11)
CIE-LCHlch(45.00, 27.14, 231.04°)
OKLaboklab(51.89% -0.0685 -0.0592)
OKLCHoklch(51.89% 0.091 220.8)
XYZxyz(11.3005, 14.5410, 27.4052)
Luminance0.1454 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12748D #8D2B12
analogous
#128D68 #12748D #12368D
triadic
#12748D #8D1274 #748D12
tetradic
#12748D #68128D #8D2B12 #368D12
square
#12748D #68128D #8D2B12 #368D12
split-complementary
#12748D #8D1236 #8D6812
monochromatic
#041B20 #0B4757 #12748D #19A1C3 #34C1E5

Accessibility & contrast

On white

5.37
#12748D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #12748D
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12748D#FFFFFF#000000##FFFFFF
##12748D1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12748d;
/* rgb */ color: rgb(18, 116, 141);
/* oklch */ color: oklch(51.9% 0.091 220.8);
Tailwind
colors: {
  custom: {
    50: '#6a9cae',
    500: '#12748d',
    950: '#000000',
  },
}
SCSS
$custom: #12748d;
$custom-light: #6a9cae;
$custom-dark: #000000;
JSON
{
  "hex": "#12748d",
  "rgb": {
    "r": 18,
    "g": 116,
    "b": 141
  },
  "hsl": {
    "h": 192.195,
    "s": 77.358,
    "l": 31.176
  },
  "oklch": {
    "l": 0.51886,
    "c": 0.09052,
    "h": 220.8
  },
  "luminance": 0.14542
}

Semantic roles & 50–950 ramp

primary
#12748D
secondary
#C15539
accent
#5B34F4
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E10
muted
#7A7E7F

Preview Lab

Preview with #12748D

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

Preview Lab → · Contrast checker → · Palette generator →

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