#12425E#12425E

#12425E is a dark, moderate cyan. Relative luminance 0.048; OKLCH L 36.2% C 0.070 H 239.0°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#12425E
RGBrgb(18, 66, 94)
HSLhsl(202, 68%, 22%)
HSVhsv(202, 81%, 37%)
CMYKcmyk(80.9%, 29.8%, 0%, 63.1%)
CIE-LABlab(26.25, -5.11, -21.13)
CIE-LCHlch(26.25, 21.74, 256.40°)
OKLaboklab(36.18% -0.0359 -0.0597)
OKLCHoklch(36.18% 0.07 239)
XYZxyz(4.2173, 4.8327, 11.2980)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12425E #5E2E12
analogous
#125E54 #12425E #121C5E
triadic
#12425E #5E1242 #425E12
tetradic
#12425E #54125E #5E2E12 #1C5E12
square
#12425E #54125E #5E2E12 #1C5E12
split-complementary
#12425E #5E121C #5E5412
monochromatic
#05121A #081E2B #12425E #1C6691 #268AC5

Accessibility & contrast

On white

10.68
#12425E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#12425E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12425E
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12425E#FFFFFF#000000##FFFFFF
##12425E1.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35425F
Deuteranopia (green-blind)
#2A3B5E
Tritanopia (blue-blind)
#00494C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #12425e;
/* rgb */ color: rgb(18, 66, 94);
/* oklch */ color: oklch(36.2% 0.070 239.0);
Tailwind
colors: {
  custom: {
    50: '#5d768b',
    500: '#12425e',
    950: '#000000',
  },
}
SCSS
$custom: #12425e;
$custom-light: #5d768b;
$custom-dark: #000000;
JSON
{
  "hex": "#12425e",
  "rgb": {
    "r": 18,
    "g": 66,
    "b": 94
  },
  "hsl": {
    "h": 202.105,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.36175,
    "c": 0.06968,
    "h": 239
  },
  "luminance": 0.04833
}

Semantic roles & 50–950 ramp

primary
#12425E
secondary
#965935
accent
#7D3DEB
background
#F5F7F8
surface
#E9EDF0
border
#C5C8CB
text
#05080C
muted
#797B7D

Preview Lab

Preview with #12425E

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

Preview Lab → · Contrast checker → · Palette generator →

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