#125F7E#125F7E

#125F7E is a mid, moderate cyan. Relative luminance 0.098; OKLCH L 45.7% C 0.086 H 231.1°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#125F7E
RGBrgb(18, 95, 126)
HSLhsl(197, 75%, 28%)
HSVhsv(197, 86%, 49%)
CMYKcmyk(85.7%, 24.6%, 0%, 50.6%)
CIE-LABlab(37.51, -10.58, -23.66)
CIE-LCHlch(37.51, 25.92, 245.91°)
OKLaboklab(45.67% -0.0537 -0.0667)
OKLCHoklch(45.67% 0.086 231.1)
XYZxyz(8.1060, 9.8183, 21.2025)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125F7E #7E3112
analogous
#127E67 #125F7E #12297E
triadic
#125F7E #7E125F #5F7E12
tetradic
#125F7E #67127E #7E3112 #297E12
square
#125F7E #67127E #7E3112 #297E12
split-complementary
#125F7E #7E1229 #7E6712
monochromatic
#04141B #0A3748 #125F7E #1A87B4 #2AACE1

Accessibility & contrast

On white

7.09
#125F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#125F7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125F7E
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125F7E#FFFFFF#000000##FFFFFF
##125F7E1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5E7F
Deuteranopia (green-blind)
#41547E
Tritanopia (blue-blind)
#006769
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #125f7e;
/* rgb */ color: rgb(18, 95, 126);
/* oklch */ color: oklch(45.7% 0.086 231.1);
Tailwind
colors: {
  custom: {
    50: '#658ca3',
    500: '#125f7e',
    950: '#000000',
  },
}
SCSS
$custom: #125f7e;
$custom-light: #658ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#125f7e",
  "rgb": {
    "r": 18,
    "g": 95,
    "b": 126
  },
  "hsl": {
    "h": 197.222,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.45667,
    "c": 0.08565,
    "h": 231.1
  },
  "luminance": 0.09819
}

Semantic roles & 50–950 ramp

primary
#125F7E
secondary
#B45C38
accent
#6C36F2
background
#F6F8FA
surface
#EBF0F3
border
#C6CBCD
text
#070C0F
muted
#7A7D7F

Preview Lab

Preview with #125F7E

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

Preview Lab → · Contrast checker → · Palette generator →

#125F7E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva