#255178#255178

#255178 is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.3% C 0.081 H 247.8°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#255178
RGBrgb(37, 81, 120)
HSLhsl(208, 53%, 31%)
HSVhsv(208, 69%, 47%)
CMYKcmyk(69.2%, 32.5%, 0%, 52.9%)
CIE-LABlab(33.21, -1.58, -26.66)
CIE-LCHlch(33.21, 26.70, 266.60°)
OKLaboklab(42.3% -0.0308 -0.0754)
OKLCHoklch(42.3% 0.081 247.8)
XYZxyz(7.0943, 7.6335, 18.8652)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255178 #784C25
analogous
#257875 #255178 #252778
triadic
#255178 #782551 #517825
tetradic
#255178 #752578 #784C25 #277825
square
#255178 #752578 #784C25 #277825
split-complementary
#255178 #782527 #787525
monochromatic
#08121A #173149 #255178 #3371A7 #4F8FC9

Accessibility & contrast

On white

8.31
#255178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#255178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255178
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255178#FFFFFF#000000##FFFFFF
##2551781.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40537A
Deuteranopia (green-blind)
#344B77
Tritanopia (blue-blind)
#005A5F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #255178;
/* rgb */ color: rgb(37, 81, 120);
/* oklch */ color: oklch(42.3% 0.081 247.8);
Tailwind
colors: {
  custom: {
    50: '#69819f',
    500: '#255178',
    950: '#000000',
  },
}
SCSS
$custom: #255178;
$custom-light: #69819f;
$custom-dark: #000000;
JSON
{
  "hex": "#255178",
  "rgb": {
    "r": 37,
    "g": 81,
    "b": 120
  },
  "hsl": {
    "h": 208.193,
    "s": 52.866,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42301,
    "c": 0.08141,
    "h": 247.8
  },
  "luminance": 0.07634
}

Semantic roles & 50–950 ramp

primary
#255178
secondary
#AA7A4E
accent
#904CDC
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #255178

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

Preview Lab → · Contrast checker → · Palette generator →

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