#12509D#12509D

#12509D is a dark, vivid cyan. Relative luminance 0.083; OKLCH L 44.0% C 0.139 H 256.7°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#12509D
RGBrgb(18, 80, 157)
HSLhsl(213, 79%, 34%)
HSVhsv(213, 89%, 62%)
CMYKcmyk(88.5%, 49%, 0%, 38.4%)
CIE-LABlab(34.60, 11.49, -47.12)
CIE-LCHlch(34.60, 48.50, 283.71°)
OKLaboklab(43.96% -0.032 -0.1356)
OKLCHoklch(43.96% 0.139 256.7)
XYZxyz(9.2017, 8.2991, 33.0086)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12509D #9D5F12
analogous
#12969D #12509D #19129D
triadic
#12509D #9D1250 #509D12
tetradic
#12509D #9D1296 #9D5F12 #129D19
square
#12509D #9D1296 #9D5F12 #129D19
split-complementary
#12509D #9D1912 #969D12
monochromatic
#05182F #0C3466 #12509D #186CD4 #408CE9

Accessibility & contrast

On white

7.89
#12509D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#12509D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12509D
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12509D#FFFFFF#000000##FFFFFF
##12509D1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2258A0
Deuteranopia (green-blind)
#004C9B
Tritanopia (blue-blind)
#00636F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #12509d;
/* rgb */ color: rgb(18, 80, 157);
/* oklch */ color: oklch(44.0% 0.139 256.7);
Tailwind
colors: {
  custom: {
    50: '#6c80ba',
    500: '#12509d',
    950: '#000000',
  },
}
SCSS
$custom: #12509d;
$custom-light: #6c80ba;
$custom-dark: #000000;
JSON
{
  "hex": "#12509d",
  "rgb": {
    "r": 18,
    "g": 80,
    "b": 157
  },
  "hsl": {
    "h": 213.237,
    "s": 79.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43956,
    "c": 0.13934,
    "h": 256.7
  },
  "luminance": 0.083
}

Semantic roles & 50–950 ramp

primary
#12509D
secondary
#C98D42
accent
#9E32F6
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A12
muted
#7B7C81

Preview Lab

Preview with #12509D

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

Preview Lab → · Contrast checker → · Palette generator →

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