#295787#295787

#295787 is a dark, moderate cyan. Relative luminance 0.090; OKLCH L 44.8% C 0.094 H 251.5°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#295787
RGBrgb(41, 87, 135)
HSLhsl(211, 53%, 35%)
HSVhsv(211, 70%, 53%)
CMYKcmyk(69.6%, 35.6%, 0%, 47.1%)
CIE-LABlab(36.05, 0.92, -31.40)
CIE-LCHlch(36.05, 31.42, 271.67°)
OKLaboklab(44.84% -0.0297 -0.0891)
OKLCHoklch(44.84% 0.094 251.5)
XYZxyz(8.6942, 9.0362, 24.2029)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295787 #875929
analogous
#298687 #295787 #2A2987
triadic
#295787 #872957 #578729
tetradic
#295787 #872986 #875929 #29872A
square
#295787 #872986 #875929 #29872A
split-complementary
#295787 #872A29 #868729
monochromatic
#0C1A29 #1B3958 #295787 #3775B6 #5D94CE

Accessibility & contrast

On white

7.48
#295787 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#295787 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295787
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295787#FFFFFF#000000##FFFFFF
##2957871.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425A89
Deuteranopia (green-blind)
#345186
Tritanopia (blue-blind)
#006268
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #295787;
/* rgb */ color: rgb(41, 87, 135);
/* oklch */ color: oklch(44.8% 0.094 251.5);
Tailwind
colors: {
  custom: {
    50: '#6e86aa',
    500: '#295787',
    950: '#000000',
  },
}
SCSS
$custom: #295787;
$custom-light: #6e86aa;
$custom-dark: #000000;
JSON
{
  "hex": "#295787",
  "rgb": {
    "r": 41,
    "g": 87,
    "b": 135
  },
  "hsl": {
    "h": 210.638,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.44841,
    "c": 0.09391,
    "h": 251.5
  },
  "luminance": 0.09037
}

Semantic roles & 50–950 ramp

primary
#295787
secondary
#B38759
accent
#954BDD
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #295787

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

Preview Lab → · Contrast checker → · Palette generator →

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