#12425F#12425F

#12425F is a dark, moderate cyan. Relative luminance 0.049; OKLCH L 36.2% C 0.071 H 239.9°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#12425F
RGBrgb(18, 66, 95)
HSLhsl(203, 68%, 22%)
HSVhsv(203, 81%, 37%)
CMYKcmyk(81.1%, 30.5%, 0%, 62.7%)
CIE-LABlab(26.31, -4.71, -21.70)
CIE-LCHlch(26.31, 22.20, 257.75°)
OKLaboklab(36.23% -0.0355 -0.0613)
OKLCHoklch(36.23% 0.071 239.9)
XYZxyz(4.2624, 4.8507, 11.5359)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12425F #5F2F12
analogous
#125F56 #12425F #121C5F
triadic
#12425F #5F1242 #425F12
tetradic
#12425F #56125F #5F2F12 #1C5F12
square
#12425F #56125F #5F2F12 #1C5F12
split-complementary
#12425F #5F121C #5F5612
monochromatic
#05121A #081E2C #12425F #1C6692 #2589C6

Accessibility & contrast

On white

10.66
#12425F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12425F
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12425F#FFFFFF#000000##FFFFFF
##12425F1.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12425f;
/* rgb */ color: rgb(18, 66, 95);
/* oklch */ color: oklch(36.2% 0.071 239.9);
Tailwind
colors: {
  custom: {
    50: '#5d768c',
    500: '#12425f',
    950: '#000000',
  },
}
SCSS
$custom: #12425f;
$custom-light: #5d768c;
$custom-dark: #000000;
JSON
{
  "hex": "#12425f",
  "rgb": {
    "r": 18,
    "g": 66,
    "b": 95
  },
  "hsl": {
    "h": 202.597,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.36234,
    "c": 0.0709,
    "h": 239.9
  },
  "luminance": 0.04851
}

Semantic roles & 50–950 ramp

primary
#12425F
secondary
#975A36
accent
#7E3DEB
background
#F5F7F8
surface
#E9EDF0
border
#C5C8CB
text
#05080C
muted
#797B7D

Preview Lab

Preview with #12425F

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

Preview Lab → · Contrast checker → · Palette generator →

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