#12407F#12407F

#12407F is a dark, moderate cyan. Relative luminance 0.053; OKLCH L 37.9% C 0.117 H 257.7°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#12407F
RGBrgb(18, 64, 127)
HSLhsl(215, 75%, 28%)
HSVhsv(215, 86%, 50%)
CMYKcmyk(85.8%, 49.6%, 0%, 50.2%)
CIE-LABlab(27.65, 9.98, -39.92)
CIE-LCHlch(27.65, 41.14, 284.03°)
OKLaboklab(37.93% -0.025 -0.1148)
OKLCHoklch(37.93% 0.117 257.7)
XYZxyz(5.9122, 5.3270, 20.7912)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12407F #7F5112
analogous
#12767F #12407F #1B127F
triadic
#12407F #7F1240 #407F12
tetradic
#12407F #7F1276 #7F5112 #127F1B
square
#12407F #7F1276 #7F5112 #127F1B
split-complementary
#12407F #7F1B12 #767F12
monochromatic
#040E1B #0A2549 #12407F #1A5BB5 #2B77E1

Accessibility & contrast

On white

10.17
#12407F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#12407F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12407F
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12407F#FFFFFF#000000##FFFFFF
##12407F1.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4681
Deuteranopia (green-blind)
#003D7E
Tritanopia (blue-blind)
#004F59
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #12407f;
/* rgb */ color: rgb(18, 64, 127);
/* oklch */ color: oklch(37.9% 0.117 257.7);
Tailwind
colors: {
  custom: {
    50: '#6574a5',
    500: '#12407f',
    950: '#000000',
  },
}
SCSS
$custom: #12407f;
$custom-light: #6574a5;
$custom-dark: #000000;
JSON
{
  "hex": "#12407f",
  "rgb": {
    "r": 18,
    "g": 64,
    "b": 127
  },
  "hsl": {
    "h": 214.679,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.37927,
    "c": 0.11749,
    "h": 257.7
  },
  "luminance": 0.05328
}

Semantic roles & 50–950 ramp

primary
#12407F
secondary
#B58038
accent
#A336F2
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#06080F
muted
#7A7B7F

Preview Lab

Preview with #12407F

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

Preview Lab → · Contrast checker → · Palette generator →

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