#295976#295976

#295976 is a dark, moderate cyan. Relative luminance 0.089; OKLCH L 44.4% C 0.071 H 237.8°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#295976
RGBrgb(41, 89, 118)
HSLhsl(203, 48%, 31%)
HSVhsv(203, 65%, 46%)
CMYKcmyk(65.3%, 24.6%, 0%, 53.7%)
CIE-LABlab(35.84, -6.56, -21.30)
CIE-LCHlch(35.84, 22.29, 252.87°)
OKLaboklab(44.39% -0.0376 -0.0597)
OKLCHoklch(44.39% 0.071 237.8)
XYZxyz(7.7556, 8.9234, 18.4497)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295976 #764629
analogous
#29766C #295976 #293276
triadic
#295976 #762959 #597629
tetradic
#295976 #6C2976 #764629 #327629
square
#295976 #6C2976 #764629 #327629
split-complementary
#295976 #762932 #766C29
monochromatic
#09141B #193749 #295976 #397BA3 #559AC4

Accessibility & contrast

On white

7.54
#295976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#295976 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295976
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295976#FFFFFF#000000##FFFFFF
##2959761.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5977
Deuteranopia (green-blind)
#415176
Tritanopia (blue-blind)
#006063
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #295976;
/* rgb */ color: rgb(41, 89, 118);
/* oklch */ color: oklch(44.4% 0.071 237.8);
Tailwind
colors: {
  custom: {
    50: '#6b879d',
    500: '#295976',
    950: '#000000',
  },
}
SCSS
$custom: #295976;
$custom-light: #6b879d;
$custom-dark: #000000;
JSON
{
  "hex": "#295976",
  "rgb": {
    "r": 41,
    "g": 89,
    "b": 118
  },
  "hsl": {
    "h": 202.597,
    "s": 48.428,
    "l": 31.176
  },
  "oklch": {
    "l": 0.4439,
    "c": 0.07061,
    "h": 237.8
  },
  "luminance": 0.08924
}

Semantic roles & 50–950 ramp

primary
#295976
secondary
#A87353
accent
#8350D8
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #295976

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

Preview Lab → · Contrast checker → · Palette generator →

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