#295496#295496

#295496 is a mid, moderate blue. Relative luminance 0.090; OKLCH L 45.1% C 0.118 H 258.8°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#295496
RGBrgb(41, 84, 150)
HSLhsl(216, 57%, 37%)
HSVhsv(216, 73%, 59%)
CMYKcmyk(72.7%, 44%, 0%, 41.2%)
CIE-LABlab(36.01, 8.58, -40.59)
CIE-LCHlch(36.01, 41.49, 281.93°)
OKLaboklab(45.09% -0.023 -0.116)
OKLCHoklch(45.09% 0.118 258.8)
XYZxyz(9.5878, 9.0130, 30.0826)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295496 #966B29
analogous
#298B96 #295496 #342996
triadic
#295496 #962954 #549629
tetradic
#295496 #96298B #966B29 #299634
square
#295496 #96298B #966B29 #299634
split-complementary
#295496 #963429 #8B9629
monochromatic
#0F1E36 #1C3966 #295496 #366FC6 #6591D5

Accessibility & contrast

On white

7.49
#295496 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#295496 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295496
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295496#FFFFFF#000000##FFFFFF
##2954961.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345A99
Deuteranopia (green-blind)
#215095
Tritanopia (blue-blind)
#00636D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #295496;
/* rgb */ color: rgb(41, 84, 150);
/* oklch */ color: oklch(45.1% 0.118 258.8);
Tailwind
colors: {
  custom: {
    50: '#7183b5',
    500: '#295496',
    950: '#000000',
  },
}
SCSS
$custom: #295496;
$custom-light: #7183b5;
$custom-dark: #000000;
JSON
{
  "hex": "#295496",
  "rgb": {
    "r": 41,
    "g": 84,
    "b": 150
  },
  "hsl": {
    "h": 216.33,
    "s": 57.068,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4509,
    "c": 0.1183,
    "h": 258.8
  },
  "luminance": 0.09014
}

Semantic roles & 50–950 ramp

primary
#295496
secondary
#BB9760
accent
#A447E0
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #295496

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

Preview Lab → · Contrast checker → · Palette generator →

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