#12507F#12507F

#12507F is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 41.9% C 0.099 H 246.8°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#12507F
RGBrgb(18, 80, 127)
HSLhsl(206, 75%, 28%)
HSVhsv(206, 86%, 50%)
CMYKcmyk(85.8%, 37%, 0%, 50.2%)
CIE-LABlab(32.70, -0.84, -31.85)
CIE-LCHlch(32.70, 31.86, 268.50°)
OKLaboklab(41.86% -0.0389 -0.0907)
OKLCHoklch(41.86% 0.099 246.8)
XYZxyz(6.9474, 7.3974, 21.1362)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12507F #7F4112
analogous
#127F77 #12507F #12197F
triadic
#12507F #7F1250 #507F12
tetradic
#12507F #77127F #7F4112 #197F12
square
#12507F #77127F #7F4112 #197F12
split-complementary
#12507F #7F1219 #7F7712
monochromatic
#04111B #0A2E49 #12507F #1A72B5 #2B92E1

Accessibility & contrast

On white

8.47
#12507F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#12507F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12507F
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12507F#FFFFFF#000000##FFFFFF
##12507F1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12507f;
/* rgb */ color: rgb(18, 80, 127);
/* oklch */ color: oklch(41.9% 0.099 246.8);
Tailwind
colors: {
  custom: {
    50: '#6580a4',
    500: '#12507f',
    950: '#000000',
  },
}
SCSS
$custom: #12507f;
$custom-light: #6580a4;
$custom-dark: #000000;
JSON
{
  "hex": "#12507f",
  "rgb": {
    "r": 18,
    "g": 80,
    "b": 127
  },
  "hsl": {
    "h": 205.872,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.4186,
    "c": 0.09875,
    "h": 246.8
  },
  "luminance": 0.07398
}

Semantic roles & 50–950 ramp

primary
#12507F
secondary
#B56E38
accent
#8736F2
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#060A0F
muted
#7A7C7F

Preview Lab

Preview with #12507F

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

Preview Lab → · Contrast checker → · Palette generator →

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