#295172#295172

#295172 is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.1% C 0.071 H 245.5°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#295172
RGBrgb(41, 81, 114)
HSLhsl(207, 47%, 30%)
HSVhsv(207, 64%, 45%)
CMYKcmyk(64%, 28.9%, 0%, 55.3%)
CIE-LABlab(33.07, -3.01, -23.12)
CIE-LCHlch(33.07, 23.31, 262.59°)
OKLaboklab(42.14% -0.0296 -0.065)
OKLCHoklch(42.14% 0.071 245.5)
XYZxyz(6.8930, 7.5705, 17.0143)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295172 #724A29
analogous
#29726E #295172 #292C72
triadic
#295172 #722951 #517229
tetradic
#295172 #6E2972 #724A29 #2C7229
square
#295172 #6E2972 #724A29 #2C7229
split-complementary
#295172 #72292C #726E29
monochromatic
#091118 #193145 #295172 #39719F #5490C1

Accessibility & contrast

On white

8.35
#295172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#295172 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295172
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295172#FFFFFF#000000##FFFFFF
##2951721.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435273
Deuteranopia (green-blind)
#394B71
Tritanopia (blue-blind)
#00595C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #295172;
/* rgb */ color: rgb(41, 81, 114);
/* oklch */ color: oklch(42.1% 0.071 245.5);
Tailwind
colors: {
  custom: {
    50: '#6a819a',
    500: '#295172',
    950: '#000000',
  },
}
SCSS
$custom: #295172;
$custom-light: #6a819a;
$custom-dark: #000000;
JSON
{
  "hex": "#295172",
  "rgb": {
    "r": 41,
    "g": 81,
    "b": 114
  },
  "hsl": {
    "h": 207.123,
    "s": 47.097,
    "l": 30.392
  },
  "oklch": {
    "l": 0.42141,
    "c": 0.07147,
    "h": 245.5
  },
  "luminance": 0.07571
}

Semantic roles & 50–950 ramp

primary
#295172
secondary
#A47753
accent
#8D51D7
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #295172

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

Preview Lab → · Contrast checker → · Palette generator →

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