#12537E#12537E

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

Color values

HEX#12537E
RGBrgb(18, 83, 126)
HSLhsl(204, 75%, 28%)
HSVhsv(204, 86%, 49%)
CMYKcmyk(85.7%, 34.1%, 0%, 50.6%)
CIE-LABlab(33.61, -3.17, -29.79)
CIE-LCHlch(33.61, 29.95, 263.92°)
OKLaboklab(42.56% -0.0421 -0.0847)
OKLCHoklch(42.56% 0.095 243.6)
XYZxyz(7.1071, 7.8206, 20.8696)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12537E #7E3D12
analogous
#127E73 #12537E #121D7E
triadic
#12537E #7E1253 #537E12
tetradic
#12537E #73127E #7E3D12 #1D7E12
square
#12537E #73127E #7E3D12 #1D7E12
split-complementary
#12537E #7E121D #7E7312
monochromatic
#04121B #0A3048 #12537E #1A76B4 #2A98E1

Accessibility & contrast

On white

8.19
#12537E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#12537E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12537E
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12537E#FFFFFF#000000##FFFFFF
##12537E1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5480
Deuteranopia (green-blind)
#304B7D
Tritanopia (blue-blind)
#005E62
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #12537e;
/* rgb */ color: rgb(18, 83, 126);
/* oklch */ color: oklch(42.6% 0.095 243.6);
Tailwind
colors: {
  custom: {
    50: '#6483a3',
    500: '#12537e',
    950: '#000000',
  },
}
SCSS
$custom: #12537e;
$custom-light: #6483a3;
$custom-dark: #000000;
JSON
{
  "hex": "#12537e",
  "rgb": {
    "r": 18,
    "g": 83,
    "b": 126
  },
  "hsl": {
    "h": 203.889,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.4256,
    "c": 0.09454,
    "h": 243.6
  },
  "luminance": 0.07821
}

Semantic roles & 50–950 ramp

primary
#12537E
secondary
#B46938
accent
#8136F2
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#060A0F
muted
#7A7C7F

Preview Lab

Preview with #12537E

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

Preview Lab → · Contrast checker → · Palette generator →

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