#12537F#12537F

#12537F is a dark, moderate cyan. Relative luminance 0.078; OKLCH L 42.6% C 0.096 H 244.2°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#12537F
RGBrgb(18, 83, 127)
HSLhsl(204, 75%, 28%)
HSVhsv(204, 86%, 50%)
CMYKcmyk(85.8%, 34.6%, 0%, 50.2%)
CIE-LABlab(33.66, -2.77, -30.32)
CIE-LCHlch(33.66, 30.44, 264.78°)
OKLaboklab(42.62% -0.0417 -0.0862)
OKLCHoklch(42.62% 0.096 244.2)
XYZxyz(7.1720, 7.8465, 21.2111)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12537F #7F3E12
analogous
#127F74 #12537F #121D7F
triadic
#12537F #7F1253 #537F12
tetradic
#12537F #74127F #7F3E12 #1D7F12
square
#12537F #74127F #7F3E12 #1D7F12
split-complementary
#12537F #7F121D #7F7412
monochromatic
#04121B #0A3049 #12537F #1A76B5 #2B97E1

Accessibility & contrast

On white

8.17
#12537F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#12537F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12537F
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12537F#FFFFFF#000000##FFFFFF
##12537F1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5581
Deuteranopia (green-blind)
#2F4B7E
Tritanopia (blue-blind)
#005E63
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #12537f;
/* rgb */ color: rgb(18, 83, 127);
/* oklch */ color: oklch(42.6% 0.096 244.2);
Tailwind
colors: {
  custom: {
    50: '#6583a4',
    500: '#12537f',
    950: '#000000',
  },
}
SCSS
$custom: #12537f;
$custom-light: #6583a4;
$custom-dark: #000000;
JSON
{
  "hex": "#12537f",
  "rgb": {
    "r": 18,
    "g": 83,
    "b": 127
  },
  "hsl": {
    "h": 204.22,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.42622,
    "c": 0.0958,
    "h": 244.2
  },
  "luminance": 0.07847
}

Semantic roles & 50–950 ramp

primary
#12537F
secondary
#B56A38
accent
#8236F2
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#060A0F
muted
#7A7C7F

Preview Lab

Preview with #12537F

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

Preview Lab → · Contrast checker → · Palette generator →

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