#125371#125371

#125371 is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 41.8% C 0.079 H 234.0°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#125371
RGBrgb(18, 83, 113)
HSLhsl(199, 73%, 26%)
HSVhsv(199, 84%, 44%)
CMYKcmyk(84.1%, 26.5%, 0%, 55.7%)
CIE-LABlab(32.93, -8.33, -22.76)
CIE-LCHlch(32.93, 24.24, 249.89°)
OKLaboklab(41.81% -0.0466 -0.0642)
OKLCHoklch(41.81% 0.079 234)
XYZxyz(6.3221, 7.5066, 16.7353)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125371 #713012
analogous
#12715F #125371 #122471
triadic
#125371 #711253 #537112
tetradic
#125371 #5F1271 #713012 #247112
square
#125371 #5F1271 #713012 #247112
split-complementary
#125371 #711224 #715F12
monochromatic
#04131A #0A2C3C #125371 #1A7AA6 #23A1DB

Accessibility & contrast

On white

8.40
#125371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#125371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125371
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125371#FFFFFF#000000##FFFFFF
##1253711.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445272
Deuteranopia (green-blind)
#384A71
Tritanopia (blue-blind)
#005B5D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #125371;
/* rgb */ color: rgb(18, 83, 113);
/* oklch */ color: oklch(41.8% 0.079 234.0);
Tailwind
colors: {
  custom: {
    50: '#62839a',
    500: '#125371',
    950: '#000000',
  },
}
SCSS
$custom: #125371;
$custom-light: #62839a;
$custom-dark: #000000;
JSON
{
  "hex": "#125371",
  "rgb": {
    "r": 18,
    "g": 83,
    "b": 113
  },
  "hsl": {
    "h": 198.947,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.41805,
    "c": 0.07938,
    "h": 234
  },
  "luminance": 0.07507
}

Semantic roles & 50–950 ramp

primary
#125371
secondary
#A85B37
accent
#7239EF
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #125371

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

Preview Lab → · Contrast checker → · Palette generator →

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