#12547E#12547E

#12547E is a dark, moderate cyan. Relative luminance 0.080; OKLCH L 42.8% C 0.094 H 242.6°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#12547E
RGBrgb(18, 84, 126)
HSLhsl(203, 75%, 28%)
HSVhsv(203, 86%, 49%)
CMYKcmyk(85.7%, 33.3%, 0%, 50.6%)
CIE-LABlab(33.93, -3.81, -29.27)
CIE-LCHlch(33.93, 29.52, 262.58°)
OKLaboklab(42.82% -0.043 -0.0832)
OKLCHoklch(42.82% 0.094 242.6)
XYZxyz(7.1842, 7.9747, 20.8952)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12547E #7E3C12
analogous
#127E72 #12547E #121E7E
triadic
#12547E #7E1254 #547E12
tetradic
#12547E #72127E #7E3C12 #1E7E12
square
#12547E #72127E #7E3C12 #1E7E12
split-complementary
#12547E #7E121E #7E7212
monochromatic
#04121B #0A3048 #12547E #1A78B4 #2A9AE1

Accessibility & contrast

On white

8.09
#12547E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#12547E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12547E
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12547E#FFFFFF#000000##FFFFFF
##12547E1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405580
Deuteranopia (green-blind)
#314B7D
Tritanopia (blue-blind)
#005E63
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #12547e;
/* rgb */ color: rgb(18, 84, 126);
/* oklch */ color: oklch(42.8% 0.094 242.6);
Tailwind
colors: {
  custom: {
    50: '#6483a3',
    500: '#12547e',
    950: '#000000',
  },
}
SCSS
$custom: #12547e;
$custom-light: #6483a3;
$custom-dark: #000000;
JSON
{
  "hex": "#12547e",
  "rgb": {
    "r": 18,
    "g": 84,
    "b": 126
  },
  "hsl": {
    "h": 203.333,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.42816,
    "c": 0.09363,
    "h": 242.6
  },
  "luminance": 0.07976
}

Semantic roles & 50–950 ramp

primary
#12547E
secondary
#B46838
accent
#7F36F2
background
#F6F8FA
surface
#EBEFF4
border
#C6CACE
text
#060A0F
muted
#7A7C7F

Preview Lab

Preview with #12547E

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

Preview Lab → · Contrast checker → · Palette generator →

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