#255171#255171

#255171 is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 41.9% C 0.072 H 242.7°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#255171
RGBrgb(37, 81, 113)
HSLhsl(205, 51%, 29%)
HSVhsv(205, 67%, 44%)
CMYKcmyk(67.3%, 28.3%, 0%, 55.7%)
CIE-LABlab(32.85, -4.18, -22.85)
CIE-LCHlch(32.85, 23.23, 259.62°)
OKLaboklab(41.91% -0.0331 -0.0643)
OKLCHoklch(41.91% 0.072 242.7)
XYZxyz(6.6849, 7.4698, 16.7091)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255171 #714525
analogous
#25716B #255171 #252B71
triadic
#255171 #712551 #517125
tetradic
#255171 #6B2571 #714525 #2B7125
square
#255171 #6B2571 #714525 #2B7125
split-complementary
#255171 #71252B #716B25
monochromatic
#081117 #163043 #255171 #34729F #4C92C4

Accessibility & contrast

On white

8.42
#255171 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #255171
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255171#FFFFFF#000000##FFFFFF
##2551711.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435172
Deuteranopia (green-blind)
#384A70
Tritanopia (blue-blind)
#00595C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #255171;
/* rgb */ color: rgb(37, 81, 113);
/* oklch */ color: oklch(41.9% 0.072 242.7);
Tailwind
colors: {
  custom: {
    50: '#68819a',
    500: '#255171',
    950: '#000000',
  },
}
SCSS
$custom: #255171;
$custom-light: #68819a;
$custom-dark: #000000;
JSON
{
  "hex": "#255171",
  "rgb": {
    "r": 37,
    "g": 81,
    "b": 113
  },
  "hsl": {
    "h": 205.263,
    "s": 50.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41905,
    "c": 0.07235,
    "h": 242.7
  },
  "luminance": 0.0747
}

Semantic roles & 50–950 ramp

primary
#255171
secondary
#A4724E
accent
#894EDA
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #255171

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

Preview Lab → · Contrast checker → · Palette generator →

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