#125272#125272

#125272 is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 41.6% C 0.081 H 236.1°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#125272
RGBrgb(18, 82, 114)
HSLhsl(200, 73%, 26%)
HSVhsv(200, 84%, 45%)
CMYKcmyk(84.2%, 28.1%, 0%, 55.3%)
CIE-LABlab(32.65, -7.32, -23.83)
CIE-LCHlch(32.65, 24.93, 252.92°)
OKLaboklab(41.6% -0.0452 -0.0673)
OKLCHoklch(41.6% 0.081 236.1)
XYZxyz(6.3028, 7.3773, 17.0081)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125272 #723212
analogous
#127262 #125272 #122272
triadic
#125272 #721252 #527212
tetradic
#125272 #621272 #723212 #227212
square
#125272 #621272 #723212 #227212
split-complementary
#125272 #721222 #726212
monochromatic
#04131A #0A2C3D #125272 #1A78A7 #239EDC

Accessibility & contrast

On white

8.48
#125272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#125272 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125272
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125272#FFFFFF#000000##FFFFFF
##1252721.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425273
Deuteranopia (green-blind)
#364971
Tritanopia (blue-blind)
#005A5D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #125272;
/* rgb */ color: rgb(18, 82, 114);
/* oklch */ color: oklch(41.6% 0.081 236.1);
Tailwind
colors: {
  custom: {
    50: '#62829a',
    500: '#125272',
    950: '#000000',
  },
}
SCSS
$custom: #125272;
$custom-light: #62829a;
$custom-dark: #000000;
JSON
{
  "hex": "#125272",
  "rgb": {
    "r": 18,
    "g": 82,
    "b": 114
  },
  "hsl": {
    "h": 200,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.41597,
    "c": 0.08113,
    "h": 236.1
  },
  "luminance": 0.07378
}

Semantic roles & 50–950 ramp

primary
#125272
secondary
#A95D37
accent
#7538EF
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #125272

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

Preview Lab → · Contrast checker → · Palette generator →

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