#255F78#255F78

#255F78 is a mid, moderate cyan. Relative luminance 0.099; OKLCH L 45.9% C 0.072 H 229.7°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#255F78
RGBrgb(37, 95, 120)
HSLhsl(198, 53%, 31%)
HSVhsv(198, 69%, 47%)
CMYKcmyk(69.2%, 20.8%, 0%, 52.9%)
CIE-LABlab(37.72, -10.23, -19.62)
CIE-LCHlch(37.72, 22.13, 242.46°)
OKLaboklab(45.88% -0.0466 -0.0549)
OKLCHoklch(45.88% 0.072 229.7)
XYZxyz(8.2440, 9.9329, 19.2484)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255F78 #783E25
analogous
#257867 #255F78 #253578
triadic
#255F78 #78255F #5F7825
tetradic
#255F78 #672578 #783E25 #357825
square
#255F78 #672578 #783E25 #357825
split-complementary
#255F78 #782535 #786725
monochromatic
#08151A #173A49 #255F78 #3384A7 #4FA4C9

Accessibility & contrast

On white

7.03
#255F78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#255F78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255F78
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255F78#FFFFFF#000000##FFFFFF
##255F781.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525E79
Deuteranopia (green-blind)
#475578
Tritanopia (blue-blind)
#006667
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #255f78;
/* rgb */ color: rgb(37, 95, 120);
/* oklch */ color: oklch(45.9% 0.072 229.7);
Tailwind
colors: {
  custom: {
    50: '#6a8c9f',
    500: '#255f78',
    950: '#000000',
  },
}
SCSS
$custom: #255f78;
$custom-light: #6a8c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#255f78",
  "rgb": {
    "r": 37,
    "g": 95,
    "b": 120
  },
  "hsl": {
    "h": 198.072,
    "s": 52.866,
    "l": 30.784
  },
  "oklch": {
    "l": 0.45879,
    "c": 0.07202,
    "h": 229.7
  },
  "luminance": 0.09934
}

Semantic roles & 50–950 ramp

primary
#255F78
secondary
#AA6A4E
accent
#774CDC
background
#F6F8F9
surface
#ECF0F2
border
#C7CBCC
text
#070C0E
muted
#7A7D7E

Preview Lab

Preview with #255F78

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

Preview Lab → · Contrast checker → · Palette generator →

#255F78 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva