#12407A#12407A

#12407A is a dark, moderate cyan. Relative luminance 0.052; OKLCH L 37.5% C 0.110 H 256.4°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#12407A
RGBrgb(18, 64, 122)
HSLhsl(213, 74%, 27%)
HSVhsv(213, 85%, 48%)
CMYKcmyk(85.2%, 47.5%, 0%, 52.2%)
CIE-LABlab(27.30, 7.87, -37.34)
CIE-LCHlch(27.30, 38.16, 281.90°)
OKLaboklab(37.54% -0.026 -0.1072)
OKLCHoklch(37.54% 0.11 256.4)
XYZxyz(5.5944, 5.1998, 19.1174)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12407A #7A4C12
analogous
#12747A #12407A #18127A
triadic
#12407A #7A1240 #407A12
tetradic
#12407A #7A1274 #7A4C12 #127A18
square
#12407A #7A1274 #7A4C12 #127A18
split-complementary
#12407A #7A1812 #747A12
monochromatic
#040E1B #0A2445 #12407A #1A5CAF #2779DF

Accessibility & contrast

On white

10.29
#12407A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#12407A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12407A
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12407A#FFFFFF#000000##FFFFFF
##12407A1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21457C
Deuteranopia (green-blind)
#073C79
Tritanopia (blue-blind)
#004E57
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #12407a;
/* rgb */ color: rgb(18, 64, 122);
/* oklch */ color: oklch(37.5% 0.110 256.4);
Tailwind
colors: {
  custom: {
    50: '#6374a1',
    500: '#12407a',
    950: '#000000',
  },
}
SCSS
$custom: #12407a;
$custom-light: #6374a1;
$custom-dark: #000000;
JSON
{
  "hex": "#12407a",
  "rgb": {
    "r": 18,
    "g": 64,
    "b": 122
  },
  "hsl": {
    "h": 213.462,
    "s": 74.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.37544,
    "c": 0.11033,
    "h": 256.4
  },
  "luminance": 0.05201
}

Semantic roles & 50–950 ramp

primary
#12407A
secondary
#B07B38
accent
#9F37F1
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080F
muted
#7A7B7E

Preview Lab

Preview with #12407A

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

Preview Lab → · Contrast checker → · Palette generator →

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