#125271#125271

#125271 is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 41.5% C 0.080 H 235.3°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#125271
RGBrgb(18, 82, 113)
HSLhsl(200, 73%, 26%)
HSVhsv(200, 84%, 44%)
CMYKcmyk(84.1%, 27.4%, 0%, 55.7%)
CIE-LABlab(32.60, -7.71, -23.28)
CIE-LCHlch(32.60, 24.53, 251.67°)
OKLaboklab(41.54% -0.0456 -0.0657)
OKLCHoklch(41.54% 0.08 235.3)
XYZxyz(6.2462, 7.3547, 16.7100)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125271 #713112
analogous
#127160 #125271 #122271
triadic
#125271 #711252 #527112
tetradic
#125271 #601271 #713112 #227112
square
#125271 #601271 #713112 #227112
split-complementary
#125271 #711222 #716012
monochromatic
#04131A #0A2C3C #125271 #1A78A6 #239FDB

Accessibility & contrast

On white

8.50
#125271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#125271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125271
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125271#FFFFFF#000000##FFFFFF
##1252711.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #125271;
/* rgb */ color: rgb(18, 82, 113);
/* oklch */ color: oklch(41.5% 0.080 235.3);
Tailwind
colors: {
  custom: {
    50: '#62829a',
    500: '#125271',
    950: '#000000',
  },
}
SCSS
$custom: #125271;
$custom-light: #62829a;
$custom-dark: #000000;
JSON
{
  "hex": "#125271",
  "rgb": {
    "r": 18,
    "g": 82,
    "b": 113
  },
  "hsl": {
    "h": 199.579,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.41541,
    "c": 0.08002,
    "h": 235.3
  },
  "luminance": 0.07355
}

Semantic roles & 50–950 ramp

primary
#125271
secondary
#A85C37
accent
#7439EF
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #125271

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

Preview Lab → · Contrast checker → · Palette generator →

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