#295874#295874

#295874 is a dark, moderate cyan. Relative luminance 0.087; OKLCH L 44.0% C 0.069 H 237.3°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#295874
RGBrgb(41, 88, 116)
HSLhsl(202, 48%, 31%)
HSVhsv(202, 65%, 45%)
CMYKcmyk(64.7%, 24.1%, 0%, 54.5%)
CIE-LABlab(35.42, -6.66, -20.70)
CIE-LCHlch(35.42, 21.75, 252.17°)
OKLaboklab(44.03% -0.0372 -0.058)
OKLCHoklch(44.03% 0.069 237.3)
XYZxyz(7.5554, 8.7111, 17.8028)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295874 #744529
analogous
#29746A #295874 #293274
triadic
#295874 #742958 #587429
tetradic
#295874 #6A2974 #744529 #327429
square
#295874 #6A2974 #744529 #327429
split-complementary
#295874 #742932 #746A29
monochromatic
#09131A #193647 #295874 #397AA1 #559AC3

Accessibility & contrast

On white

7.66
#295874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#295874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295874
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295874#FFFFFF#000000##FFFFFF
##2958741.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5875
Deuteranopia (green-blind)
#415074
Tritanopia (blue-blind)
#005F61
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #295874;
/* rgb */ color: rgb(41, 88, 116);
/* oklch */ color: oklch(44.0% 0.069 237.3);
Tailwind
colors: {
  custom: {
    50: '#6b879c',
    500: '#295874',
    950: '#000000',
  },
}
SCSS
$custom: #295874;
$custom-light: #6b879c;
$custom-dark: #000000;
JSON
{
  "hex": "#295874",
  "rgb": {
    "r": 41,
    "g": 88,
    "b": 116
  },
  "hsl": {
    "h": 202.4,
    "s": 47.771,
    "l": 30.784
  },
  "oklch": {
    "l": 0.44031,
    "c": 0.06894,
    "h": 237.3
  },
  "luminance": 0.08712
}

Semantic roles & 50–950 ramp

primary
#295874
secondary
#A67253
accent
#8350D7
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #295874

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

Preview Lab → · Contrast checker → · Palette generator →

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