#295990#295990

#295990 is a mid, moderate cyan. Relative luminance 0.096; OKLCH L 45.9% C 0.104 H 253.6°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#295990
RGBrgb(41, 89, 144)
HSLhsl(212, 56%, 36%)
HSVhsv(212, 72%, 56%)
CMYKcmyk(71.5%, 38.2%, 0%, 43.5%)
CIE-LABlab(37.17, 3.02, -35.12)
CIE-LCHlch(37.17, 35.24, 274.92°)
OKLaboklab(45.88% -0.0293 -0.0999)
OKLCHoklch(45.88% 0.104 253.6)
XYZxyz(9.5190, 9.6288, 27.7370)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295990 #906029
analogous
#298D90 #295990 #2D2990
triadic
#295990 #902959 #599029
tetradic
#295990 #90298D #906029 #29902D
square
#295990 #90298D #906029 #29902D
split-complementary
#295990 #902D29 #8D9029
monochromatic
#0E1E31 #1B3C60 #295990 #3776C0 #6196D2

Accessibility & contrast

On white

7.18
#295990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#295990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295990
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295990#FFFFFF#000000##FFFFFF
##2959901.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405D92
Deuteranopia (green-blind)
#31538F
Tritanopia (blue-blind)
#00666D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #295990;
/* rgb */ color: rgb(41, 89, 144);
/* oklch */ color: oklch(45.9% 0.104 253.6);
Tailwind
colors: {
  custom: {
    50: '#7087b1',
    500: '#295990',
    950: '#000000',
  },
}
SCSS
$custom: #295990;
$custom-light: #7087b1;
$custom-dark: #000000;
JSON
{
  "hex": "#295990",
  "rgb": {
    "r": 41,
    "g": 89,
    "b": 144
  },
  "hsl": {
    "h": 212.039,
    "s": 55.676,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45875,
    "c": 0.10413,
    "h": 253.6
  },
  "luminance": 0.0963
}

Semantic roles & 50–950 ramp

primary
#295990
secondary
#B88D5D
accent
#9949DF
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #295990

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

Preview Lab → · Contrast checker → · Palette generator →

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