#255287#255287

#255287 is a dark, moderate cyan. Relative luminance 0.082; OKLCH L 43.5% C 0.101 H 254.2°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#255287
RGBrgb(37, 82, 135)
HSLhsl(212, 57%, 34%)
HSVhsv(212, 73%, 53%)
CMYKcmyk(72.6%, 39.3%, 0%, 47.1%)
CIE-LABlab(34.35, 3.49, -34.12)
CIE-LCHlch(34.35, 34.29, 275.83°)
OKLaboklab(43.46% -0.0275 -0.0971)
OKLCHoklch(43.46% 0.101 254.2)
XYZxyz(8.1518, 8.1763, 24.0655)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255287 #875A25
analogous
#258387 #255287 #292587
triadic
#255287 #872552 #528725
tetradic
#255287 #872583 #875A25 #258729
square
#255287 #872583 #875A25 #258729
split-complementary
#255287 #872925 #838725
monochromatic
#0B1827 #183557 #255287 #326FB7 #568ED1

Accessibility & contrast

On white

7.97
#255287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#255287 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255287
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255287#FFFFFF#000000##FFFFFF
##2552871.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5689
Deuteranopia (green-blind)
#2B4D86
Tritanopia (blue-blind)
#005E66
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #255287;
/* rgb */ color: rgb(37, 82, 135);
/* oklch */ color: oklch(43.5% 0.101 254.2);
Tailwind
colors: {
  custom: {
    50: '#6c82aa',
    500: '#255287',
    950: '#000000',
  },
}
SCSS
$custom: #255287;
$custom-light: #6c82aa;
$custom-dark: #000000;
JSON
{
  "hex": "#255287",
  "rgb": {
    "r": 37,
    "g": 82,
    "b": 135
  },
  "hsl": {
    "h": 212.449,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43464,
    "c": 0.10096,
    "h": 254.2
  },
  "luminance": 0.08177
}

Semantic roles & 50–950 ramp

primary
#255287
secondary
#B58853
accent
#9A48E0
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #255287

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

Preview Lab → · Contrast checker → · Palette generator →

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