#255791#255791

#255791 is a mid, moderate cyan. Relative luminance 0.093; OKLCH L 45.3% C 0.109 H 254.1°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#255791
RGBrgb(37, 87, 145)
HSLhsl(212, 59%, 36%)
HSVhsv(212, 74%, 57%)
CMYKcmyk(74.5%, 40%, 0%, 43.1%)
CIE-LABlab(36.47, 4.09, -36.84)
CIE-LCHlch(36.47, 37.07, 276.33°)
OKLaboklab(45.31% -0.0299 -0.1051)
OKLCHoklch(45.31% 0.109 254.1)
XYZxyz(9.2801, 9.2530, 28.0795)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255791 #915F25
analogous
#258D91 #255791 #292591
triadic
#255791 #912557 #579125
tetradic
#255791 #91258D #915F25 #259129
square
#255791 #91258D #915F25 #259129
split-complementary
#255791 #912925 #8D9125
monochromatic
#0C1C2F #193A60 #255791 #3174C2 #5B94D5

Accessibility & contrast

On white

7.37
#255791 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#255791 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255791
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255791#FFFFFF#000000##FFFFFF
##2557911.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5B93
Deuteranopia (green-blind)
#2B5190
Tritanopia (blue-blind)
#00656D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #255791;
/* rgb */ color: rgb(37, 87, 145);
/* oklch */ color: oklch(45.3% 0.109 254.1);
Tailwind
colors: {
  custom: {
    50: '#6e86b1',
    500: '#255791',
    950: '#000000',
  },
}
SCSS
$custom: #255791;
$custom-light: #6e86b1;
$custom-dark: #000000;
JSON
{
  "hex": "#255791",
  "rgb": {
    "r": 37,
    "g": 87,
    "b": 145
  },
  "hsl": {
    "h": 212.222,
    "s": 59.341,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45306,
    "c": 0.10924,
    "h": 254.1
  },
  "luminance": 0.09254
}

Semantic roles & 50–950 ramp

primary
#255791
secondary
#BA8D58
accent
#9A45E3
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #255791

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

Preview Lab → · Contrast checker → · Palette generator →

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