#256171#256171

#256171 is a mid, moderate cyan. Relative luminance 0.101; OKLCH L 46.1% C 0.066 H 218.4°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#256171
RGBrgb(37, 97, 113)
HSLhsl(193, 51%, 29%)
HSVhsv(193, 67%, 44%)
CMYKcmyk(67.3%, 14.2%, 0%, 55.7%)
CIE-LABlab(38.08, -13.83, -14.77)
CIE-LCHlch(38.08, 20.24, 226.88°)
OKLaboklab(46.07% -0.0518 -0.0411)
OKLCHoklch(46.07% 0.066 218.4)
XYZxyz(8.0171, 10.1341, 17.1532)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#256171 #713525
analogous
#25715B #256171 #253B71
triadic
#256171 #712561 #617125
tetradic
#256171 #5B2571 #713525 #3B7125
square
#256171 #5B2571 #713525 #3B7125
split-complementary
#256171 #71253B #715B25
monochromatic
#081417 #163943 #256171 #34899F #4CABC4

Accessibility & contrast

On white

6.94
#256171 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#256171 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #256171
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##256171#FFFFFF#000000##FFFFFF
##2561711.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575E72
Deuteranopia (green-blind)
#4C5671
Tritanopia (blue-blind)
#006666
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #256171;
/* rgb */ color: rgb(37, 97, 113);
/* oklch */ color: oklch(46.1% 0.066 218.4);
Tailwind
colors: {
  custom: {
    50: '#698e99',
    500: '#256171',
    950: '#000000',
  },
}
SCSS
$custom: #256171;
$custom-light: #698e99;
$custom-dark: #000000;
JSON
{
  "hex": "#256171",
  "rgb": {
    "r": 37,
    "g": 97,
    "b": 113
  },
  "hsl": {
    "h": 192.632,
    "s": 50.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.4607,
    "c": 0.06612,
    "h": 218.4
  },
  "luminance": 0.10135
}

Semantic roles & 50–950 ramp

primary
#256171
secondary
#A4604E
accent
#6B4EDA
background
#F6F8F9
surface
#EBF0F2
border
#C6CBCC
text
#070C0E
muted
#7A7D7E

Preview Lab

Preview with #256171

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

Preview Lab → · Contrast checker → · Palette generator →

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