#12507E#12507E

#12507E is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 41.8% C 0.097 H 246.2°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#12507E
RGBrgb(18, 80, 126)
HSLhsl(206, 75%, 28%)
HSVhsv(206, 86%, 49%)
CMYKcmyk(85.7%, 36.5%, 0%, 50.6%)
CIE-LABlab(32.64, -1.24, -31.32)
CIE-LCHlch(32.64, 31.34, 267.73°)
OKLaboklab(41.8% -0.0392 -0.0892)
OKLCHoklch(41.8% 0.097 246.2)
XYZxyz(6.8825, 7.3714, 20.7947)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12507E #7E4012
analogous
#127E76 #12507E #121A7E
triadic
#12507E #7E1250 #507E12
tetradic
#12507E #76127E #7E4012 #1A7E12
square
#12507E #76127E #7E4012 #1A7E12
split-complementary
#12507E #7E121A #7E7612
monochromatic
#04111B #0A2E48 #12507E #1A72B4 #2A93E1

Accessibility & contrast

On white

8.49
#12507E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#12507E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12507E
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12507E#FFFFFF#000000##FFFFFF
##12507E1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5280
Deuteranopia (green-blind)
#2B487D
Tritanopia (blue-blind)
#005B61
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #12507e;
/* rgb */ color: rgb(18, 80, 126);
/* oklch */ color: oklch(41.8% 0.097 246.2);
Tailwind
colors: {
  custom: {
    50: '#6480a3',
    500: '#12507e',
    950: '#000000',
  },
}
SCSS
$custom: #12507e;
$custom-light: #6480a3;
$custom-dark: #000000;
JSON
{
  "hex": "#12507e",
  "rgb": {
    "r": 18,
    "g": 80,
    "b": 126
  },
  "hsl": {
    "h": 205.556,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.41796,
    "c": 0.09745,
    "h": 246.2
  },
  "luminance": 0.07372
}

Semantic roles & 50–950 ramp

primary
#12507E
secondary
#B46D38
accent
#8636F2
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#060A0F
muted
#7A7C7F

Preview Lab

Preview with #12507E

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

Preview Lab → · Contrast checker → · Palette generator →

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