#12425C#12425C

#12425C is a dark, moderate cyan. Relative luminance 0.048; OKLCH L 36.1% C 0.067 H 237.0°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#12425C
RGBrgb(18, 66, 92)
HSLhsl(201, 67%, 22%)
HSVhsv(201, 80%, 36%)
CMYKcmyk(80.4%, 28.3%, 0%, 63.9%)
CIE-LABlab(26.15, -5.91, -20.00)
CIE-LCHlch(26.15, 20.86, 253.52°)
OKLaboklab(36.06% -0.0367 -0.0564)
OKLCHoklch(36.06% 0.067 237)
XYZxyz(4.1287, 4.7973, 10.8315)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12425C #5C2C12
analogous
#125C51 #12425C #121D5C
triadic
#12425C #5C1242 #425C12
tetradic
#12425C #51125C #5C2C12 #1D5C12
square
#12425C #51125C #5C2C12 #1D5C12
split-complementary
#12425C #5C121D #5C5112
monochromatic
#05121A #081D29 #12425C #1C678F #268BC2

Accessibility & contrast

On white

10.72
#12425C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#12425C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12425C
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12425C#FFFFFF#000000##FFFFFF
##12425C1.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36425D
Deuteranopia (green-blind)
#2C3B5C
Tritanopia (blue-blind)
#00494B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #12425c;
/* rgb */ color: rgb(18, 66, 92);
/* oklch */ color: oklch(36.1% 0.067 237.0);
Tailwind
colors: {
  custom: {
    50: '#5c768a',
    500: '#12425c',
    950: '#000000',
  },
}
SCSS
$custom: #12425c;
$custom-light: #5c768a;
$custom-dark: #000000;
JSON
{
  "hex": "#12425c",
  "rgb": {
    "r": 18,
    "g": 66,
    "b": 92
  },
  "hsl": {
    "h": 201.081,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.36059,
    "c": 0.0673,
    "h": 237
  },
  "luminance": 0.04798
}

Semantic roles & 50–950 ramp

primary
#12425C
secondary
#945735
accent
#7A3EEA
background
#F5F7F8
surface
#E9EDF0
border
#C5C8CB
text
#05080B
muted
#797B7C

Preview Lab

Preview with #12425C

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

Preview Lab → · Contrast checker → · Palette generator →

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