#295174#295174

#295174 is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.3% C 0.074 H 247.0°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#295174
RGBrgb(41, 81, 116)
HSLhsl(208, 48%, 31%)
HSVhsv(208, 65%, 45%)
CMYKcmyk(64.7%, 30.2%, 0%, 54.5%)
CIE-LABlab(33.17, -2.28, -24.21)
CIE-LCHlch(33.17, 24.32, 264.62°)
OKLaboklab(42.25% -0.0289 -0.0682)
OKLCHoklch(42.25% 0.074 247)
XYZxyz(7.0081, 7.6166, 17.6204)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295174 #744C29
analogous
#297471 #295174 #292B74
triadic
#295174 #742951 #517429
tetradic
#295174 #712974 #744C29 #2B7429
square
#295174 #712974 #744C29 #2B7429
split-complementary
#295174 #74292B #747129
monochromatic
#09121A #193147 #295174 #3971A1 #558FC3

Accessibility & contrast

On white

8.32
#295174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#295174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295174
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295174#FFFFFF#000000##FFFFFF
##2951741.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425276
Deuteranopia (green-blind)
#384B73
Tritanopia (blue-blind)
#00595D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #295174;
/* rgb */ color: rgb(41, 81, 116);
/* oklch */ color: oklch(42.3% 0.074 247.0);
Tailwind
colors: {
  custom: {
    50: '#6b819c',
    500: '#295174',
    950: '#000000',
  },
}
SCSS
$custom: #295174;
$custom-light: #6b819c;
$custom-dark: #000000;
JSON
{
  "hex": "#295174",
  "rgb": {
    "r": 41,
    "g": 81,
    "b": 116
  },
  "hsl": {
    "h": 208,
    "s": 47.771,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42252,
    "c": 0.07409,
    "h": 247
  },
  "luminance": 0.07617
}

Semantic roles & 50–950 ramp

primary
#295174
secondary
#A67A53
accent
#8F50D7
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #295174

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

Preview Lab → · Contrast checker → · Palette generator →

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