#295879#295879

#295879 is a dark, moderate cyan. Relative luminance 0.088; OKLCH L 44.3% C 0.075 H 241.8°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#295879
RGBrgb(41, 88, 121)
HSLhsl(205, 49%, 32%)
HSVhsv(205, 66%, 47%)
CMYKcmyk(66.1%, 27.3%, 0%, 52.5%)
CIE-LABlab(35.66, -4.87, -23.43)
CIE-LCHlch(35.66, 23.93, 258.25°)
OKLaboklab(44.29% -0.0354 -0.0659)
OKLCHoklch(44.29% 0.075 241.8)
XYZxyz(7.8541, 8.8306, 19.3760)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295879 #794A29
analogous
#297972 #295879 #293079
triadic
#295879 #792958 #587929
tetradic
#295879 #722979 #794A29 #307929
square
#295879 #722979 #794A29 #307929
split-complementary
#295879 #792930 #797229
monochromatic
#0A161E #1A374B #295879 #3879A7 #5698C6

Accessibility & contrast

On white

7.59
#295879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#295879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295879
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295879#FFFFFF#000000##FFFFFF
##2958791.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49587B
Deuteranopia (green-blind)
#3E5078
Tritanopia (blue-blind)
#006063
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #295879;
/* rgb */ color: rgb(41, 88, 121);
/* oklch */ color: oklch(44.3% 0.075 241.8);
Tailwind
colors: {
  custom: {
    50: '#6c87a0',
    500: '#295879',
    950: '#000000',
  },
}
SCSS
$custom: #295879;
$custom-light: #6c87a0;
$custom-dark: #000000;
JSON
{
  "hex": "#295879",
  "rgb": {
    "r": 41,
    "g": 88,
    "b": 121
  },
  "hsl": {
    "h": 204.75,
    "s": 49.383,
    "l": 31.765
  },
  "oklch": {
    "l": 0.44294,
    "c": 0.07479,
    "h": 241.8
  },
  "luminance": 0.08831
}

Semantic roles & 50–950 ramp

primary
#295879
secondary
#AB7753
accent
#884FD9
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #295879

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

Preview Lab → · Contrast checker → · Palette generator →

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