#12427E#12427E

#12427E is a dark, moderate cyan. Relative luminance 0.055; OKLCH L 38.3% C 0.114 H 256.3°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#12427E
RGBrgb(18, 66, 126)
HSLhsl(213, 75%, 28%)
HSVhsv(213, 86%, 49%)
CMYKcmyk(85.7%, 47.6%, 0%, 50.6%)
CIE-LABlab(28.20, 8.17, -38.41)
CIE-LCHlch(28.20, 39.27, 282.01°)
OKLaboklab(38.33% -0.0269 -0.1103)
OKLCHoklch(38.33% 0.114 256.3)
XYZxyz(5.9622, 5.5306, 20.4879)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12427E #7E4E12
analogous
#12787E #12427E #18127E
triadic
#12427E #7E1242 #427E12
tetradic
#12427E #7E1278 #7E4E12 #127E18
square
#12427E #7E1278 #7E4E12 #127E18
split-complementary
#12427E #7E1812 #787E12
monochromatic
#040E1B #0A2648 #12427E #1A5EB4 #2A7BE1

Accessibility & contrast

On white

9.97
#12427E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#12427E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12427E
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12427E#FFFFFF#000000##FFFFFF
##12427E1.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214880
Deuteranopia (green-blind)
#053E7D
Tritanopia (blue-blind)
#00505A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #12427e;
/* rgb */ color: rgb(18, 66, 126);
/* oklch */ color: oklch(38.3% 0.114 256.3);
Tailwind
colors: {
  custom: {
    50: '#6475a4',
    500: '#12427e',
    950: '#000000',
  },
}
SCSS
$custom: #12427e;
$custom-light: #6475a4;
$custom-dark: #000000;
JSON
{
  "hex": "#12427e",
  "rgb": {
    "r": 18,
    "g": 66,
    "b": 126
  },
  "hsl": {
    "h": 213.333,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38328,
    "c": 0.11354,
    "h": 256.3
  },
  "luminance": 0.05531
}

Semantic roles & 50–950 ramp

primary
#12427E
secondary
#B47D38
accent
#9E36F2
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#06080F
muted
#7A7B7F

Preview Lab

Preview with #12427E

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

Preview Lab → · Contrast checker → · Palette generator →

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