#12407C#12407C

#12407C is a dark, moderate cyan. Relative luminance 0.053; OKLCH L 37.7% C 0.113 H 256.9°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#12407C
RGBrgb(18, 64, 124)
HSLhsl(214, 75%, 28%)
HSVhsv(214, 85%, 49%)
CMYKcmyk(85.5%, 48.4%, 0%, 51.4%)
CIE-LABlab(27.44, 8.71, -38.38)
CIE-LCHlch(27.44, 39.35, 282.79°)
OKLaboklab(37.7% -0.0256 -0.1103)
OKLCHoklch(37.7% 0.113 256.9)
XYZxyz(5.7196, 5.2499, 19.7768)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12407C #7C4E12
analogous
#12757C #12407C #19127C
triadic
#12407C #7C1240 #407C12
tetradic
#12407C #7C1275 #7C4E12 #127C19
square
#12407C #7C1275 #7C4E12 #127C19
split-complementary
#12407C #7C1912 #757C12
monochromatic
#040E1B #0A2447 #12407C #1A5CB1 #2978E0

Accessibility & contrast

On white

10.24
#12407C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#12407C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12407C
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12407C#FFFFFF#000000##FFFFFF
##12407C1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F467E
Deuteranopia (green-blind)
#013C7B
Tritanopia (blue-blind)
#004E58
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #12407c;
/* rgb */ color: rgb(18, 64, 124);
/* oklch */ color: oklch(37.7% 0.113 256.9);
Tailwind
colors: {
  custom: {
    50: '#6474a2',
    500: '#12407c',
    950: '#000000',
  },
}
SCSS
$custom: #12407c;
$custom-light: #6474a2;
$custom-dark: #000000;
JSON
{
  "hex": "#12407c",
  "rgb": {
    "r": 18,
    "g": 64,
    "b": 124
  },
  "hsl": {
    "h": 213.962,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.37696,
    "c": 0.11319,
    "h": 256.9
  },
  "luminance": 0.05251
}

Semantic roles & 50–950 ramp

primary
#12407C
secondary
#B27D38
accent
#A037F1
background
#F6F7FA
surface
#EBEDF3
border
#C6C8CD
text
#06080F
muted
#7A7B7F

Preview Lab

Preview with #12407C

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

Preview Lab → · Contrast checker → · Palette generator →

#12407C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva