#12427D#12427D

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

Color values

HEX#12427D
RGBrgb(18, 66, 125)
HSLhsl(213, 75%, 28%)
HSVhsv(213, 86%, 49%)
CMYKcmyk(85.6%, 47.2%, 0%, 51%)
CIE-LABlab(28.13, 7.75, -37.89)
CIE-LCHlch(28.13, 38.67, 281.55°)
OKLaboklab(38.25% -0.0271 -0.1088)
OKLCHoklch(38.25% 0.112 256)
XYZxyz(5.8980, 5.5050, 20.1498)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12427D #7D4D12
analogous
#12777D #12427D #17127D
triadic
#12427D #7D1242 #427D12
tetradic
#12427D #7D1277 #7D4D12 #127D17
square
#12427D #7D1277 #7D4D12 #127D17
split-complementary
#12427D #7D1712 #777D12
monochromatic
#040E1B #0A2648 #12427D #1A5EB2 #297BE0

Accessibility & contrast

On white

9.99
#12427D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#12427D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12427D
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12427D#FFFFFF#000000##FFFFFF
##12427D1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22477F
Deuteranopia (green-blind)
#083E7C
Tritanopia (blue-blind)
#005059
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #12427d;
/* rgb */ color: rgb(18, 66, 125);
/* oklch */ color: oklch(38.3% 0.112 256.0);
Tailwind
colors: {
  custom: {
    50: '#6475a3',
    500: '#12427d',
    950: '#000000',
  },
}
SCSS
$custom: #12427d;
$custom-light: #6475a3;
$custom-dark: #000000;
JSON
{
  "hex": "#12427d",
  "rgb": {
    "r": 18,
    "g": 66,
    "b": 125
  },
  "hsl": {
    "h": 213.084,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38253,
    "c": 0.11211,
    "h": 256
  },
  "luminance": 0.05506
}

Semantic roles & 50–950 ramp

primary
#12427D
secondary
#B37C38
accent
#9E36F1
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#06080F
muted
#7A7B7F

Preview Lab

Preview with #12427D

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

Preview Lab → · Contrast checker → · Palette generator →

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