#295988#295988

#295988 is a mid, moderate cyan. Relative luminance 0.094; OKLCH L 45.4% C 0.093 H 250.2°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#295988
RGBrgb(41, 89, 136)
HSLhsl(210, 54%, 35%)
HSVhsv(210, 70%, 53%)
CMYKcmyk(69.9%, 34.6%, 0%, 46.7%)
CIE-LABlab(36.73, 0.01, -30.95)
CIE-LCHlch(36.73, 30.95, 270.02°)
OKLaboklab(45.39% -0.0316 -0.0877)
OKLCHoklch(45.39% 0.093 250.2)
XYZxyz(8.9291, 9.3928, 24.6302)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295988 #885829
analogous
#298887 #295988 #292A88
triadic
#295988 #882959 #598829
tetradic
#295988 #872988 #885829 #2A8829
square
#295988 #872988 #885829 #2A8829
split-complementary
#295988 #88292A #888729
monochromatic
#0D1B2A #1B3A59 #295988 #3778B7 #5D96CE

Accessibility & contrast

On white

7.29
#295988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#295988 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295988
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295988#FFFFFF#000000##FFFFFF
##2959881.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445B8A
Deuteranopia (green-blind)
#375287
Tritanopia (blue-blind)
#00646A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #295988;
/* rgb */ color: rgb(41, 89, 136);
/* oklch */ color: oklch(45.4% 0.093 250.2);
Tailwind
colors: {
  custom: {
    50: '#6e87ab',
    500: '#295988',
    950: '#000000',
  },
}
SCSS
$custom: #295988;
$custom-light: #6e87ab;
$custom-dark: #000000;
JSON
{
  "hex": "#295988",
  "rgb": {
    "r": 41,
    "g": 89,
    "b": 136
  },
  "hsl": {
    "h": 209.684,
    "s": 53.672,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45389,
    "c": 0.09323,
    "h": 250.2
  },
  "luminance": 0.09394
}

Semantic roles & 50–950 ramp

primary
#295988
secondary
#B48659
accent
#934BDD
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #295988

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

Preview Lab → · Contrast checker → · Palette generator →

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