#295987#295987

#295987 is a mid, moderate cyan. Relative luminance 0.094; OKLCH L 45.3% C 0.092 H 249.7°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#295987
RGBrgb(41, 89, 135)
HSLhsl(209, 53%, 35%)
HSVhsv(209, 70%, 53%)
CMYKcmyk(69.6%, 34.1%, 0%, 47.1%)
CIE-LABlab(36.68, -0.36, -30.42)
CIE-LCHlch(36.68, 30.42, 269.32°)
OKLaboklab(45.33% -0.0319 -0.0862)
OKLCHoklch(45.33% 0.092 249.7)
XYZxyz(8.8584, 9.3645, 24.2577)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295987 #875729
analogous
#298786 #295987 #292A87
triadic
#295987 #872959 #598729
tetradic
#295987 #862987 #875729 #2A8729
square
#295987 #862987 #875729 #2A8729
split-complementary
#295987 #87292A #878629
monochromatic
#0C1B29 #1B3A58 #295987 #3778B6 #5D96CE

Accessibility & contrast

On white

7.31
#295987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#295987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295987
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295987#FFFFFF#000000##FFFFFF
##2959871.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455B89
Deuteranopia (green-blind)
#385286
Tritanopia (blue-blind)
#00646A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #295987;
/* rgb */ color: rgb(41, 89, 135);
/* oklch */ color: oklch(45.3% 0.092 249.7);
Tailwind
colors: {
  custom: {
    50: '#6e87aa',
    500: '#295987',
    950: '#000000',
  },
}
SCSS
$custom: #295987;
$custom-light: #6e87aa;
$custom-dark: #000000;
JSON
{
  "hex": "#295987",
  "rgb": {
    "r": 41,
    "g": 89,
    "b": 135
  },
  "hsl": {
    "h": 209.362,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.4533,
    "c": 0.0919,
    "h": 249.7
  },
  "luminance": 0.09365
}

Semantic roles & 50–950 ramp

primary
#295987
secondary
#B38559
accent
#924BDD
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #295987

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

Preview Lab → · Contrast checker → · Palette generator →

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