#12427A#12427A

#12427A is a dark, moderate cyan. Relative luminance 0.054; OKLCH L 38.0% C 0.108 H 255.1°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#12427A
RGBrgb(18, 66, 122)
HSLhsl(212, 74%, 27%)
HSVhsv(212, 85%, 48%)
CMYKcmyk(85.2%, 45.9%, 0%, 52.2%)
CIE-LABlab(27.92, 6.48, -36.33)
CIE-LCHlch(27.92, 36.91, 280.12°)
OKLaboklab(38.03% -0.0277 -0.1042)
OKLCHoklch(38.03% 0.108 255.1)
XYZxyz(5.7092, 5.4295, 19.1557)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12427A #7A4A12
analogous
#12767A #12427A #16127A
triadic
#12427A #7A1242 #427A12
tetradic
#12427A #7A1276 #7A4A12 #127A16
square
#12427A #7A1276 #7A4A12 #127A16
split-complementary
#12427A #7A1612 #767A12
monochromatic
#040E1B #0A2545 #12427A #1A5FAF #277CDF

Accessibility & contrast

On white

10.07
#12427A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#12427A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12427A
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12427A#FFFFFF#000000##FFFFFF
##12427A1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25477C
Deuteranopia (green-blind)
#0F3E79
Tritanopia (blue-blind)
#004F58
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #12427a;
/* rgb */ color: rgb(18, 66, 122);
/* oklch */ color: oklch(38.0% 0.108 255.1);
Tailwind
colors: {
  custom: {
    50: '#6375a1',
    500: '#12427a',
    950: '#000000',
  },
}
SCSS
$custom: #12427a;
$custom-light: #6375a1;
$custom-dark: #000000;
JSON
{
  "hex": "#12427a",
  "rgb": {
    "r": 18,
    "g": 66,
    "b": 122
  },
  "hsl": {
    "h": 212.308,
    "s": 74.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.38031,
    "c": 0.10783,
    "h": 255.1
  },
  "luminance": 0.0543
}

Semantic roles & 50–950 ramp

primary
#12427A
secondary
#B07938
accent
#9B37F1
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080F
muted
#7A7B7E

Preview Lab

Preview with #12427A

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

Preview Lab → · Contrast checker → · Palette generator →

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