#12527F#12527F

#12527F is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.4% C 0.097 H 245.1°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#12527F
RGBrgb(18, 82, 127)
HSLhsl(205, 75%, 28%)
HSVhsv(205, 86%, 50%)
CMYKcmyk(85.8%, 35.4%, 0%, 50.2%)
CIE-LABlab(33.34, -2.13, -30.83)
CIE-LCHlch(33.34, 30.90, 266.05°)
OKLaboklab(42.37% -0.0408 -0.0877)
OKLCHoklch(42.37% 0.097 245.1)
XYZxyz(7.0960, 7.6946, 21.1858)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12527F #7F3F12
analogous
#127F75 #12527F #121B7F
triadic
#12527F #7F1252 #527F12
tetradic
#12527F #75127F #7F3F12 #1B7F12
square
#12527F #75127F #7F3F12 #1B7F12
split-complementary
#12527F #7F121B #7F7512
monochromatic
#04111B #0A2F49 #12527F #1A75B5 #2B96E1

Accessibility & contrast

On white

8.27
#12527F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#12527F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12527F
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12527F#FFFFFF#000000##FFFFFF
##12527F1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12527f;
/* rgb */ color: rgb(18, 82, 127);
/* oklch */ color: oklch(42.4% 0.097 245.1);
Tailwind
colors: {
  custom: {
    50: '#6582a4',
    500: '#12527f',
    950: '#000000',
  },
}
SCSS
$custom: #12527f;
$custom-light: #6582a4;
$custom-dark: #000000;
JSON
{
  "hex": "#12527f",
  "rgb": {
    "r": 18,
    "g": 82,
    "b": 127
  },
  "hsl": {
    "h": 204.771,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.42367,
    "c": 0.09676,
    "h": 245.1
  },
  "luminance": 0.07695
}

Semantic roles & 50–950 ramp

primary
#12527F
secondary
#B56C38
accent
#8436F2
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#060A0F
muted
#7A7C7F

Preview Lab

Preview with #12527F

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

Preview Lab → · Contrast checker → · Palette generator →

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