#12509F#12509F

#12509F is a dark, vivid cyan. Relative luminance 0.084; OKLCH L 44.1% C 0.142 H 257.1°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#12509F
RGBrgb(18, 80, 159)
HSLhsl(214, 80%, 35%)
HSVhsv(214, 89%, 62%)
CMYKcmyk(88.7%, 49.7%, 0%, 37.6%)
CIE-LABlab(34.74, 12.31, -48.09)
CIE-LCHlch(34.74, 49.65, 284.36°)
OKLaboklab(44.11% -0.0316 -0.1385)
OKLCHoklch(44.11% 0.142 257.1)
XYZxyz(9.3738, 8.3679, 33.9153)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12509F #9F6112
analogous
#12979F #12509F #1B129F
triadic
#12509F #9F1250 #509F12
tetradic
#12509F #9F1297 #9F6112 #129F1B
square
#12509F #9F1297 #9F6112 #129F1B
split-complementary
#12509F #9F1B12 #979F12
monochromatic
#061931 #0C3468 #12509F #186CD6 #428CEA

Accessibility & contrast

On white

7.85
#12509F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#12509F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12509F
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12509F#FFFFFF#000000##FFFFFF
##12509F1.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2058A2
Deuteranopia (green-blind)
#004C9D
Tritanopia (blue-blind)
#006370
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #12509f;
/* rgb */ color: rgb(18, 80, 159);
/* oklch */ color: oklch(44.1% 0.142 257.1);
Tailwind
colors: {
  custom: {
    50: '#6d80bc',
    500: '#12509f',
    950: '#000000',
  },
}
SCSS
$custom: #12509f;
$custom-light: #6d80bc;
$custom-dark: #000000;
JSON
{
  "hex": "#12509f",
  "rgb": {
    "r": 18,
    "g": 80,
    "b": 159
  },
  "hsl": {
    "h": 213.617,
    "s": 79.661,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44108,
    "c": 0.14207,
    "h": 257.1
  },
  "luminance": 0.08369
}

Semantic roles & 50–950 ramp

primary
#12509F
secondary
#CA8F43
accent
#A032F6
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A12
muted
#7B7C81

Preview Lab

Preview with #12509F

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

Preview Lab → · Contrast checker → · Palette generator →

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