#256271#256271

#256271 is a mid, moderate cyan. Relative luminance 0.103; OKLCH L 46.3% C 0.066 H 216.9°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#256271
RGBrgb(37, 98, 113)
HSLhsl(192, 51%, 29%)
HSVhsv(192, 67%, 44%)
CMYKcmyk(67.3%, 13.3%, 0%, 55.7%)
CIE-LABlab(38.41, -14.41, -14.27)
CIE-LCHlch(38.41, 20.28, 224.73°)
OKLaboklab(46.33% -0.0529 -0.0397)
OKLCHoklch(46.33% 0.066 216.9)
XYZxyz(8.1100, 10.3201, 17.1841)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#256271 #713425
analogous
#25715A #256271 #253C71
triadic
#256271 #712562 #627125
tetradic
#256271 #5A2571 #713425 #3C7125
square
#256271 #5A2571 #713425 #3C7125
split-complementary
#256271 #71253C #715A25
monochromatic
#081417 #163A43 #256271 #348A9F #4CADC4

Accessibility & contrast

On white

6.85
#256271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#256271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #256271
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##256271#FFFFFF#000000##FFFFFF
##2562711.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585F72
Deuteranopia (green-blind)
#4D5771
Tritanopia (blue-blind)
#006767
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #256271;
/* rgb */ color: rgb(37, 98, 113);
/* oklch */ color: oklch(46.3% 0.066 216.9);
Tailwind
colors: {
  custom: {
    50: '#698e99',
    500: '#256271',
    950: '#000000',
  },
}
SCSS
$custom: #256271;
$custom-light: #698e99;
$custom-dark: #000000;
JSON
{
  "hex": "#256271",
  "rgb": {
    "r": 37,
    "g": 98,
    "b": 113
  },
  "hsl": {
    "h": 191.842,
    "s": 50.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.46334,
    "c": 0.06617,
    "h": 216.9
  },
  "luminance": 0.10321
}

Semantic roles & 50–950 ramp

primary
#256271
secondary
#A45F4E
accent
#694EDA
background
#F6F8F9
surface
#EBF0F2
border
#C6CBCC
text
#070C0E
muted
#7A7D7E

Preview Lab

Preview with #256271

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

Preview Lab → · Contrast checker → · Palette generator →

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