#295178#295178

#295178 is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.5% C 0.079 H 249.7°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#295178
RGBrgb(41, 81, 120)
HSLhsl(210, 49%, 32%)
HSVhsv(210, 66%, 47%)
CMYKcmyk(65.8%, 32.5%, 0%, 52.9%)
CIE-LABlab(33.37, -0.81, -26.38)
CIE-LCHlch(33.37, 26.39, 268.23°)
OKLaboklab(42.48% -0.0276 -0.0745)
OKLCHoklch(42.48% 0.079 249.7)
XYZxyz(7.2458, 7.7116, 18.8723)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295178 #785029
analogous
#297878 #295178 #292A78
triadic
#295178 #782951 #517829
tetradic
#295178 #782978 #785029 #2A7829
square
#295178 #782978 #785029 #2A7829
split-complementary
#295178 #78292A #787829
monochromatic
#0A131D #19324A #295178 #3970A6 #568EC5

Accessibility & contrast

On white

8.26
#295178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#295178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295178
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295178#FFFFFF#000000##FFFFFF
##2951781.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40537A
Deuteranopia (green-blind)
#354B77
Tritanopia (blue-blind)
#005A5F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #295178;
/* rgb */ color: rgb(41, 81, 120);
/* oklch */ color: oklch(42.5% 0.079 249.7);
Tailwind
colors: {
  custom: {
    50: '#6b819f',
    500: '#295178',
    950: '#000000',
  },
}
SCSS
$custom: #295178;
$custom-light: #6b819f;
$custom-dark: #000000;
JSON
{
  "hex": "#295178",
  "rgb": {
    "r": 41,
    "g": 81,
    "b": 120
  },
  "hsl": {
    "h": 209.62,
    "s": 49.068,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42479,
    "c": 0.07947,
    "h": 249.7
  },
  "luminance": 0.07712
}

Semantic roles & 50–950 ramp

primary
#295178
secondary
#AA7E53
accent
#934FD9
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #295178

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

Preview Lab → · Contrast checker → · Palette generator →

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