#255187#255187

#255187 is a dark, moderate cyan. Relative luminance 0.080; OKLCH L 43.2% C 0.102 H 255.0°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#255187
RGBrgb(37, 81, 135)
HSLhsl(213, 57%, 34%)
HSVhsv(213, 73%, 53%)
CMYKcmyk(72.6%, 40%, 0%, 47.1%)
CIE-LABlab(34.04, 4.14, -34.61)
CIE-LCHlch(34.04, 34.86, 276.82°)
OKLaboklab(43.22% -0.0265 -0.0986)
OKLCHoklch(43.22% 0.102 255)
XYZxyz(8.0769, 8.0266, 24.0406)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255187 #875B25
analogous
#258287 #255187 #2A2587
triadic
#255187 #872551 #518725
tetradic
#255187 #872582 #875B25 #25872A
square
#255187 #872582 #875B25 #25872A
split-complementary
#255187 #872A25 #828725
monochromatic
#0B1727 #183457 #255187 #326EB7 #568DD1

Accessibility & contrast

On white

8.06
#255187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#255187 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255187
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255187#FFFFFF#000000##FFFFFF
##2551871.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385589
Deuteranopia (green-blind)
#294C86
Tritanopia (blue-blind)
#005E65
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #255187;
/* rgb */ color: rgb(37, 81, 135);
/* oklch */ color: oklch(43.2% 0.102 255.0);
Tailwind
colors: {
  custom: {
    50: '#6c81aa',
    500: '#255187',
    950: '#000000',
  },
}
SCSS
$custom: #255187;
$custom-light: #6c81aa;
$custom-dark: #000000;
JSON
{
  "hex": "#255187",
  "rgb": {
    "r": 37,
    "g": 81,
    "b": 135
  },
  "hsl": {
    "h": 213.061,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43223,
    "c": 0.10209,
    "h": 255
  },
  "luminance": 0.08027
}

Semantic roles & 50–950 ramp

primary
#255187
secondary
#B58953
accent
#9C48E0
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #255187

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

Preview Lab → · Contrast checker → · Palette generator →

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