#255786#255786

#255786 is a dark, moderate cyan. Relative luminance 0.089; OKLCH L 44.6% C 0.094 H 249.6°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#255786
RGBrgb(37, 87, 134)
HSLhsl(209, 57%, 34%)
HSVhsv(209, 72%, 53%)
CMYKcmyk(72.4%, 35.1%, 0%, 47.5%)
CIE-LABlab(35.85, -0.13, -31.13)
CIE-LCHlch(35.85, 31.13, 269.76°)
OKLaboklab(44.62% -0.0329 -0.0883)
OKLCHoklch(44.62% 0.094 249.6)
XYZxyz(8.4726, 8.9300, 23.8268)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255786 #865425
analogous
#258684 #255786 #252686
triadic
#255786 #862557 #578625
tetradic
#255786 #842586 #865425 #268625
square
#255786 #842586 #865425 #268625
split-complementary
#255786 #862526 #868425
monochromatic
#0B1926 #183856 #255786 #3276B6 #5595D0

Accessibility & contrast

On white

7.54
#255786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #255786
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255786#FFFFFF#000000##FFFFFF
##2557861.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425988
Deuteranopia (green-blind)
#345085
Tritanopia (blue-blind)
#006268
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #255786;
/* rgb */ color: rgb(37, 87, 134);
/* oklch */ color: oklch(44.6% 0.094 249.6);
Tailwind
colors: {
  custom: {
    50: '#6c86a9',
    500: '#255786',
    950: '#000000',
  },
}
SCSS
$custom: #255786;
$custom-light: #6c86a9;
$custom-dark: #000000;
JSON
{
  "hex": "#255786",
  "rgb": {
    "r": 37,
    "g": 87,
    "b": 134
  },
  "hsl": {
    "h": 209.072,
    "s": 56.725,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44621,
    "c": 0.09426,
    "h": 249.6
  },
  "luminance": 0.08931
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #255786

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

Preview Lab → · Contrast checker → · Palette generator →

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