#12519F#12519F

#12519F is a dark, vivid cyan. Relative luminance 0.085; OKLCH L 44.3% C 0.141 H 256.7°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#12519F
RGBrgb(18, 81, 159)
HSLhsl(213, 80%, 35%)
HSVhsv(213, 89%, 62%)
CMYKcmyk(88.7%, 49.1%, 0%, 37.6%)
CIE-LABlab(35.03, 11.64, -47.62)
CIE-LCHlch(35.03, 49.02, 283.74°)
OKLaboklab(44.34% -0.0324 -0.1371)
OKLCHoklch(44.34% 0.141 256.7)
XYZxyz(9.4476, 8.5154, 33.9399)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12519F #9F6012
analogous
#12989F #12519F #19129F
triadic
#12519F #9F1251 #519F12
tetradic
#12519F #9F1298 #9F6012 #129F19
square
#12519F #9F1298 #9F6012 #129F19
split-complementary
#12519F #9F1912 #989F12
monochromatic
#061931 #0C3568 #12519F #186DD6 #428DEA

Accessibility & contrast

On white

7.77
#12519F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#12519F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12519F
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12519F#FFFFFF#000000##FFFFFF
##12519F1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2359A2
Deuteranopia (green-blind)
#004D9D
Tritanopia (blue-blind)
#006470
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #12519f;
/* rgb */ color: rgb(18, 81, 159);
/* oklch */ color: oklch(44.3% 0.141 256.7);
Tailwind
colors: {
  custom: {
    50: '#6d81bc',
    500: '#12519f',
    950: '#000000',
  },
}
SCSS
$custom: #12519f;
$custom-light: #6d81bc;
$custom-dark: #000000;
JSON
{
  "hex": "#12519f",
  "rgb": {
    "r": 18,
    "g": 81,
    "b": 159
  },
  "hsl": {
    "h": 213.191,
    "s": 79.661,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44336,
    "c": 0.14084,
    "h": 256.7
  },
  "luminance": 0.08517
}

Semantic roles & 50–950 ramp

primary
#12519F
secondary
#CA8E43
accent
#9E32F6
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A12
muted
#7B7C81

Preview Lab

Preview with #12519F

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

Preview Lab → · Contrast checker → · Palette generator →

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