#255787#255787

#255787 is a dark, moderate cyan. Relative luminance 0.090; OKLCH L 44.7% C 0.096 H 250.0°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#255787
RGBrgb(37, 87, 135)
HSLhsl(209, 57%, 34%)
HSVhsv(209, 73%, 53%)
CMYKcmyk(72.6%, 35.6%, 0%, 47.1%)
CIE-LABlab(35.90, 0.25, -31.65)
CIE-LCHlch(35.90, 31.65, 270.45°)
OKLaboklab(44.68% -0.0326 -0.0899)
OKLCHoklch(44.68% 0.096 250)
XYZxyz(8.5427, 8.9580, 24.1958)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255787 #875525
analogous
#258786 #255787 #252687
triadic
#255787 #872557 #578725
tetradic
#255787 #862587 #875525 #268725
square
#255787 #862587 #875525 #268725
split-complementary
#255787 #872526 #878625
monochromatic
#0B1927 #183857 #255787 #3276B7 #5694D1

Accessibility & contrast

On white

7.52
#255787 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#255787 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255787
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255787#FFFFFF#000000##FFFFFF
##2557871.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415A89
Deuteranopia (green-blind)
#335086
Tritanopia (blue-blind)
#006268
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #255787;
/* rgb */ color: rgb(37, 87, 135);
/* oklch */ color: oklch(44.7% 0.096 250.0);
Tailwind
colors: {
  custom: {
    50: '#6c86aa',
    500: '#255787',
    950: '#000000',
  },
}
SCSS
$custom: #255787;
$custom-light: #6c86aa;
$custom-dark: #000000;
JSON
{
  "hex": "#255787",
  "rgb": {
    "r": 37,
    "g": 87,
    "b": 135
  },
  "hsl": {
    "h": 209.388,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44681,
    "c": 0.0956,
    "h": 250
  },
  "luminance": 0.08959
}

Semantic roles & 50–950 ramp

primary
#255787
secondary
#B58353
accent
#9248E0
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#080B10
muted
#7A7C7F

Preview Lab

Preview with #255787

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

Preview Lab → · Contrast checker → · Palette generator →

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