#255170#255170

#255170 is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 41.9% C 0.071 H 241.9°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#255170
RGBrgb(37, 81, 112)
HSLhsl(205, 50%, 29%)
HSVhsv(205, 67%, 44%)
CMYKcmyk(67%, 27.7%, 0%, 56.1%)
CIE-LABlab(32.80, -4.55, -22.30)
CIE-LCHlch(32.80, 22.76, 258.46°)
OKLaboklab(41.85% -0.0335 -0.0627)
OKLCHoklch(41.85% 0.071 241.9)
XYZxyz(6.6289, 7.4474, 16.4142)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255170 #704425
analogous
#25706A #255170 #252C70
triadic
#255170 #702551 #517025
tetradic
#255170 #6A2570 #704425 #2C7025
square
#255170 #6A2570 #704425 #2C7025
split-complementary
#255170 #70252C #706A25
monochromatic
#081117 #163042 #255170 #34729E #4C92C4

Accessibility & contrast

On white

8.44
#255170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#255170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255170
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255170#FFFFFF#000000##FFFFFF
##2551701.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435171
Deuteranopia (green-blind)
#394A6F
Tritanopia (blue-blind)
#00595C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #255170;
/* rgb */ color: rgb(37, 81, 112);
/* oklch */ color: oklch(41.9% 0.071 241.9);
Tailwind
colors: {
  custom: {
    50: '#688199',
    500: '#255170',
    950: '#000000',
  },
}
SCSS
$custom: #255170;
$custom-light: #688199;
$custom-dark: #000000;
JSON
{
  "hex": "#255170",
  "rgb": {
    "r": 37,
    "g": 81,
    "b": 112
  },
  "hsl": {
    "h": 204.8,
    "s": 50.336,
    "l": 29.216
  },
  "oklch": {
    "l": 0.4185,
    "c": 0.07111,
    "h": 241.9
  },
  "luminance": 0.07448
}

Semantic roles & 50–950 ramp

primary
#255170
secondary
#A3714E
accent
#884EDA
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #255170

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

Preview Lab → · Contrast checker → · Palette generator →

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