#12527E#12527E

#12527E is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.3% C 0.095 H 244.5°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#12527E
RGBrgb(18, 82, 126)
HSLhsl(204, 75%, 28%)
HSVhsv(204, 86%, 49%)
CMYKcmyk(85.7%, 34.9%, 0%, 50.6%)
CIE-LABlab(33.28, -2.53, -30.30)
CIE-LCHlch(33.28, 30.40, 265.22°)
OKLaboklab(42.31% -0.0411 -0.0862)
OKLCHoklch(42.31% 0.095 244.5)
XYZxyz(7.0312, 7.6687, 20.8442)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12527E #7E3E12
analogous
#127E74 #12527E #121C7E
triadic
#12527E #7E1252 #527E12
tetradic
#12527E #74127E #7E3E12 #1C7E12
square
#12527E #74127E #7E3E12 #1C7E12
split-complementary
#12527E #7E121C #7E7412
monochromatic
#04111B #0A2F48 #12527E #1A75B4 #2A96E1

Accessibility & contrast

On white

8.29
#12527E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#12527E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12527E
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12527E#FFFFFF#000000##FFFFFF
##12527E1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5480
Deuteranopia (green-blind)
#2E4A7D
Tritanopia (blue-blind)
#005D62
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #12527e;
/* rgb */ color: rgb(18, 82, 126);
/* oklch */ color: oklch(42.3% 0.095 244.5);
Tailwind
colors: {
  custom: {
    50: '#6482a3',
    500: '#12527e',
    950: '#000000',
  },
}
SCSS
$custom: #12527e;
$custom-light: #6482a3;
$custom-dark: #000000;
JSON
{
  "hex": "#12527e",
  "rgb": {
    "r": 18,
    "g": 82,
    "b": 126
  },
  "hsl": {
    "h": 204.444,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.42305,
    "c": 0.09548,
    "h": 244.5
  },
  "luminance": 0.0767
}

Semantic roles & 50–950 ramp

primary
#12527E
secondary
#B46A38
accent
#8336F2
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#060A0F
muted
#7A7C7F

Preview Lab

Preview with #12527E

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

Preview Lab → · Contrast checker → · Palette generator →

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