#12427C#12427C

#12427C is a dark, moderate cyan. Relative luminance 0.055; OKLCH L 38.2% C 0.111 H 255.7°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#12427C
RGBrgb(18, 66, 124)
HSLhsl(213, 75%, 28%)
HSVhsv(213, 85%, 49%)
CMYKcmyk(85.5%, 46.8%, 0%, 51.4%)
CIE-LABlab(28.06, 7.33, -37.37)
CIE-LCHlch(28.06, 38.08, 281.09°)
OKLaboklab(38.18% -0.0273 -0.1073)
OKLCHoklch(38.18% 0.111 255.7)
XYZxyz(5.8344, 5.4795, 19.8150)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12427C #7C4C12
analogous
#12777C #12427C #17127C
triadic
#12427C #7C1242 #427C12
tetradic
#12427C #7C1277 #7C4C12 #127C17
square
#12427C #7C1277 #7C4C12 #127C17
split-complementary
#12427C #7C1712 #777C12
monochromatic
#040E1B #0A2647 #12427C #1A5EB1 #297CE0

Accessibility & contrast

On white

10.02
#12427C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12427C
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12427C#FFFFFF#000000##FFFFFF
##12427C1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23477E
Deuteranopia (green-blind)
#0A3E7B
Tritanopia (blue-blind)
#005059
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #12427c;
/* rgb */ color: rgb(18, 66, 124);
/* oklch */ color: oklch(38.2% 0.111 255.7);
Tailwind
colors: {
  custom: {
    50: '#6475a2',
    500: '#12427c',
    950: '#000000',
  },
}
SCSS
$custom: #12427c;
$custom-light: #6475a2;
$custom-dark: #000000;
JSON
{
  "hex": "#12427c",
  "rgb": {
    "r": 18,
    "g": 66,
    "b": 124
  },
  "hsl": {
    "h": 212.83,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38179,
    "c": 0.11068,
    "h": 255.7
  },
  "luminance": 0.0548
}

Semantic roles & 50–950 ramp

primary
#12427C
secondary
#B27B38
accent
#9D37F1
background
#F6F7FA
surface
#EBEDF3
border
#C6C8CD
text
#06080F
muted
#7A7B7F

Preview Lab

Preview with #12427C

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

Preview Lab → · Contrast checker → · Palette generator →

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