#125274#125274

#125274 is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 41.7% C 0.083 H 237.7°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#125274
RGBrgb(18, 82, 116)
HSLhsl(201, 73%, 26%)
HSVhsv(201, 84%, 45%)
CMYKcmyk(84.5%, 29.3%, 0%, 54.5%)
CIE-LABlab(32.75, -6.53, -24.92)
CIE-LCHlch(32.75, 25.76, 255.31°)
OKLaboklab(41.71% -0.0445 -0.0705)
OKLCHoklch(41.71% 0.083 237.7)
XYZxyz(6.4179, 7.4233, 17.6142)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125274 #743412
analogous
#127465 #125274 #122174
triadic
#125274 #741252 #527412
tetradic
#125274 #651274 #743412 #217412
square
#125274 #651274 #743412 #217412
split-complementary
#125274 #741221 #746512
monochromatic
#04131A #0A2D3F #125274 #1A77A9 #239DDD

Accessibility & contrast

On white

8.45
#125274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125274
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125274#FFFFFF#000000##FFFFFF
##1252741.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425276
Deuteranopia (green-blind)
#354973
Tritanopia (blue-blind)
#005B5E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #125274;
/* rgb */ color: rgb(18, 82, 116);
/* oklch */ color: oklch(41.7% 0.083 237.7);
Tailwind
colors: {
  custom: {
    50: '#62829c',
    500: '#125274',
    950: '#000000',
  },
}
SCSS
$custom: #125274;
$custom-light: #62829c;
$custom-dark: #000000;
JSON
{
  "hex": "#125274",
  "rgb": {
    "r": 18,
    "g": 82,
    "b": 116
  },
  "hsl": {
    "h": 200.816,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.4171,
    "c": 0.08338,
    "h": 237.7
  },
  "luminance": 0.07424
}

Semantic roles & 50–950 ramp

primary
#125274
secondary
#AB5F37
accent
#7838F0
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #125274

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

Preview Lab → · Contrast checker → · Palette generator →

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