#255172#255172

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

Color values

HEX#255172
RGBrgb(37, 81, 114)
HSLhsl(206, 51%, 30%)
HSVhsv(206, 68%, 45%)
CMYKcmyk(67.5%, 28.9%, 0%, 55.3%)
CIE-LABlab(32.90, -3.82, -23.39)
CIE-LCHlch(32.90, 23.70, 260.74°)
OKLaboklab(41.96% -0.0328 -0.0659)
OKLCHoklch(41.96% 0.074 243.6)
XYZxyz(6.7415, 7.4924, 17.0072)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255172 #724625
analogous
#25726C #255172 #252B72
triadic
#255172 #722551 #517225
tetradic
#255172 #6C2572 #724625 #2B7225
square
#255172 #6C2572 #724625 #2B7225
split-complementary
#255172 #72252B #726C25
monochromatic
#071017 #163044 #255172 #3472A0 #4C91C5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##255172#FFFFFF#000000##FFFFFF
##2551721.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)
#425273
Deuteranopia (green-blind)
#384A71
Tritanopia (blue-blind)
#00595C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #255172;
/* rgb */ color: rgb(37, 81, 114);
/* oklch */ color: oklch(42.0% 0.074 243.6);
Tailwind
colors: {
  custom: {
    50: '#68819a',
    500: '#255172',
    950: '#000000',
  },
}
SCSS
$custom: #255172;
$custom-light: #68819a;
$custom-dark: #000000;
JSON
{
  "hex": "#255172",
  "rgb": {
    "r": 37,
    "g": 81,
    "b": 114
  },
  "hsl": {
    "h": 205.714,
    "s": 50.993,
    "l": 29.608
  },
  "oklch": {
    "l": 0.4196,
    "c": 0.0736,
    "h": 243.6
  },
  "luminance": 0.07493
}

Semantic roles & 50–950 ramp

primary
#255172
secondary
#A5734E
accent
#8A4DDA
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #255172

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

Preview Lab → · Contrast checker → · Palette generator →

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