#295875#295875

#295875 is a dark, moderate cyan. Relative luminance 0.087; OKLCH L 44.1% C 0.070 H 238.3°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#295875
RGBrgb(41, 88, 117)
HSLhsl(203, 48%, 31%)
HSVhsv(203, 65%, 46%)
CMYKcmyk(65%, 24.8%, 0%, 54.1%)
CIE-LABlab(35.47, -6.31, -21.25)
CIE-LCHlch(35.47, 22.17, 253.47°)
OKLaboklab(44.08% -0.0368 -0.0596)
OKLCHoklch(44.08% 0.07 238.3)
XYZxyz(7.6138, 8.7345, 18.1108)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295875 #754629
analogous
#29756C #295875 #293275
triadic
#295875 #752958 #587529
tetradic
#295875 #6C2975 #754629 #327529
square
#295875 #6C2975 #754629 #327529
split-complementary
#295875 #752932 #756C29
monochromatic
#09141A #193648 #295875 #397AA2 #5599C3

Accessibility & contrast

On white

7.64
#295875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#295875 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295875
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295875#FFFFFF#000000##FFFFFF
##2958751.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5876
Deuteranopia (green-blind)
#405075
Tritanopia (blue-blind)
#005F62
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #295875;
/* rgb */ color: rgb(41, 88, 117);
/* oklch */ color: oklch(44.1% 0.070 238.3);
Tailwind
colors: {
  custom: {
    50: '#6b879d',
    500: '#295875',
    950: '#000000',
  },
}
SCSS
$custom: #295875;
$custom-light: #6b879d;
$custom-dark: #000000;
JSON
{
  "hex": "#295875",
  "rgb": {
    "r": 41,
    "g": 88,
    "b": 117
  },
  "hsl": {
    "h": 202.895,
    "s": 48.101,
    "l": 30.98
  },
  "oklch": {
    "l": 0.44083,
    "c": 0.07008,
    "h": 238.3
  },
  "luminance": 0.08735
}

Semantic roles & 50–950 ramp

primary
#295875
secondary
#A77353
accent
#8450D8
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #295875

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

Preview Lab → · Contrast checker → · Palette generator →

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