#125174#125174

#125174 is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.4% C 0.084 H 238.9°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#125174
RGBrgb(18, 81, 116)
HSLhsl(201, 73%, 26%)
HSVhsv(201, 84%, 45%)
CMYKcmyk(84.5%, 30.2%, 0%, 54.5%)
CIE-LABlab(32.42, -5.91, -25.44)
CIE-LCHlch(32.42, 26.12, 256.93°)
OKLaboklab(41.45% -0.0435 -0.072)
OKLCHoklch(41.45% 0.084 238.9)
XYZxyz(6.3430, 7.2736, 17.5893)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125174 #743512
analogous
#127466 #125174 #122074
triadic
#125174 #741251 #517412
tetradic
#125174 #661274 #743512 #207412
square
#125174 #661274 #743512 #207412
split-complementary
#125174 #741220 #746612
monochromatic
#04121A #0A2C3F #125174 #1A76A9 #239BDD

Accessibility & contrast

On white

8.55
#125174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#125174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125174
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125174#FFFFFF#000000##FFFFFF
##1251741.008.552.458.55
#FFFFFF8.551.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405176
Deuteranopia (green-blind)
#334873
Tritanopia (blue-blind)
#005A5D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #125174;
/* rgb */ color: rgb(18, 81, 116);
/* oklch */ color: oklch(41.4% 0.084 238.9);
Tailwind
colors: {
  custom: {
    50: '#62819c',
    500: '#125174',
    950: '#000000',
  },
}
SCSS
$custom: #125174;
$custom-light: #62819c;
$custom-dark: #000000;
JSON
{
  "hex": "#125174",
  "rgb": {
    "r": 18,
    "g": 81,
    "b": 116
  },
  "hsl": {
    "h": 201.429,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.41448,
    "c": 0.08414,
    "h": 238.9
  },
  "luminance": 0.07274
}

Semantic roles & 50–950 ramp

primary
#125174
secondary
#AB6037
accent
#7A38F0
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #125174

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

Preview Lab → · Contrast checker → · Palette generator →

#125174 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva