#295877#295877

#295877 is a dark, moderate cyan. Relative luminance 0.088; OKLCH L 44.2% C 0.072 H 240.1°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#295877
RGBrgb(41, 88, 119)
HSLhsl(204, 49%, 31%)
HSVhsv(204, 66%, 47%)
CMYKcmyk(65.5%, 26.1%, 0%, 53.3%)
CIE-LABlab(35.56, -5.59, -22.35)
CIE-LCHlch(35.56, 23.03, 255.95°)
OKLaboklab(44.19% -0.0361 -0.0628)
OKLCHoklch(44.19% 0.072 240.1)
XYZxyz(7.7327, 8.7820, 18.7368)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295877 #774829
analogous
#29776F #295877 #293177
triadic
#295877 #772958 #587729
tetradic
#295877 #6F2977 #774829 #317729
square
#295877 #6F2977 #774829 #317729
split-complementary
#295877 #772931 #776F29
monochromatic
#0A151C #193649 #295877 #397AA5 #5699C5

Accessibility & contrast

On white

7.62
#295877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#295877 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295877
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295877#FFFFFF#000000##FFFFFF
##2958771.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5878
Deuteranopia (green-blind)
#3F5076
Tritanopia (blue-blind)
#006063
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #295877;
/* rgb */ color: rgb(41, 88, 119);
/* oklch */ color: oklch(44.2% 0.072 240.1);
Tailwind
colors: {
  custom: {
    50: '#6b879e',
    500: '#295877',
    950: '#000000',
  },
}
SCSS
$custom: #295877;
$custom-light: #6b879e;
$custom-dark: #000000;
JSON
{
  "hex": "#295877",
  "rgb": {
    "r": 41,
    "g": 88,
    "b": 119
  },
  "hsl": {
    "h": 203.846,
    "s": 48.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.44187,
    "c": 0.0724,
    "h": 240.1
  },
  "luminance": 0.08783
}

Semantic roles & 50–950 ramp

primary
#295877
secondary
#A97553
accent
#864FD8
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #295877

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

Preview Lab → · Contrast checker → · Palette generator →

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