#255782#255782

#255782 is a dark, moderate cyan. Relative luminance 0.088; OKLCH L 44.4% C 0.089 H 247.4°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#255782
RGBrgb(37, 87, 130)
HSLhsl(208, 56%, 33%)
HSVhsv(208, 72%, 51%)
CMYKcmyk(71.5%, 33.1%, 0%, 49%)
CIE-LABlab(35.64, -1.65, -29.01)
CIE-LCHlch(35.64, 29.06, 266.75°)
OKLaboklab(44.38% -0.0342 -0.0822)
OKLCHoklch(44.38% 0.089 247.4)
XYZxyz(8.1989, 8.8205, 22.3852)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255782 #825025
analogous
#25827F #255782 #252882
triadic
#255782 #822557 #578225
tetradic
#255782 #7F2582 #825025 #288225
square
#255782 #7F2582 #825025 #288225
split-complementary
#255782 #822528 #827F25
monochromatic
#0A1723 #173752 #255782 #3377B2 #5395CE

Accessibility & contrast

On white

7.60
#255782 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#255782 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255782
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255782#FFFFFF#000000##FFFFFF
##2557821.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445984
Deuteranopia (green-blind)
#375081
Tritanopia (blue-blind)
#006166
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #255782;
/* rgb */ color: rgb(37, 87, 130);
/* oklch */ color: oklch(44.4% 0.089 247.4);
Tailwind
colors: {
  custom: {
    50: '#6b86a6',
    500: '#255782',
    950: '#000000',
  },
}
SCSS
$custom: #255782;
$custom-light: #6b86a6;
$custom-dark: #000000;
JSON
{
  "hex": "#255782",
  "rgb": {
    "r": 37,
    "g": 87,
    "b": 130
  },
  "hsl": {
    "h": 207.742,
    "s": 55.689,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44384,
    "c": 0.08898,
    "h": 247.4
  },
  "luminance": 0.08821
}

Semantic roles & 50–950 ramp

primary
#255782
secondary
#B27E50
accent
#8E49DF
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #255782

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

Preview Lab → · Contrast checker → · Palette generator →

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