#255797#255797

#255797 is a mid, moderate cyan. Relative luminance 0.094; OKLCH L 45.7% C 0.118 H 256.0°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#255797
RGBrgb(37, 87, 151)
HSLhsl(214, 61%, 37%)
HSVhsv(214, 75%, 59%)
CMYKcmyk(75.5%, 42.4%, 0%, 40.8%)
CIE-LABlab(36.82, 6.41, -39.90)
CIE-LCHlch(36.82, 40.41, 279.13°)
OKLaboklab(45.7% -0.0285 -0.114)
OKLCHoklch(45.7% 0.118 256)
XYZxyz(9.7550, 9.4430, 30.5807)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255797 #976525
analogous
#259097 #255797 #2C2597
triadic
#255797 #972557 #579725
tetradic
#255797 #972590 #976525 #25972C
square
#255797 #972590 #976525 #25972C
split-complementary
#255797 #972C25 #909725
monochromatic
#0D1E35 #193B66 #255797 #3173C8 #5F94D8

Accessibility & contrast

On white

7.27
#255797 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#255797 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255797
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255797#FFFFFF#000000##FFFFFF
##2557971.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385C9A
Deuteranopia (green-blind)
#255296
Tritanopia (blue-blind)
#00666F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #255797;
/* rgb */ color: rgb(37, 87, 151);
/* oklch */ color: oklch(45.7% 0.118 256.0);
Tailwind
colors: {
  custom: {
    50: '#7085b6',
    500: '#255797',
    950: '#000000',
  },
}
SCSS
$custom: #255797;
$custom-light: #7085b6;
$custom-dark: #000000;
JSON
{
  "hex": "#255797",
  "rgb": {
    "r": 37,
    "g": 87,
    "b": 151
  },
  "hsl": {
    "h": 213.684,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45699,
    "c": 0.11754,
    "h": 256
  },
  "luminance": 0.09444
}

Semantic roles & 50–950 ramp

primary
#255797
secondary
#BD925B
accent
#9E44E4
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #255797

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

Preview Lab → · Contrast checker → · Palette generator →

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