#295495#295495

#295495 is a mid, moderate blue. Relative luminance 0.090; OKLCH L 45.0% C 0.117 H 258.6°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#295495
RGBrgb(41, 84, 149)
HSLhsl(216, 57%, 37%)
HSVhsv(216, 72%, 58%)
CMYKcmyk(72.5%, 43.6%, 0%, 41.6%)
CIE-LABlab(35.95, 8.19, -40.08)
CIE-LCHlch(35.95, 40.91, 281.55°)
OKLaboklab(45.02% -0.0232 -0.1146)
OKLCHoklch(45.02% 0.117 258.6)
XYZxyz(9.5076, 8.9810, 29.6604)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295495 #956A29
analogous
#298A95 #295495 #342995
triadic
#295495 #952954 #549529
tetradic
#295495 #95298A #956A29 #299534
square
#295495 #95298A #956A29 #299534
split-complementary
#295495 #953429 #8A9529
monochromatic
#0F1E35 #1C3965 #295495 #366FC5 #6491D4

Accessibility & contrast

On white

7.51
#295495 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #295495
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295495#FFFFFF#000000##FFFFFF
##2954951.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355A98
Deuteranopia (green-blind)
#225094
Tritanopia (blue-blind)
#00636D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #295495;
/* rgb */ color: rgb(41, 84, 149);
/* oklch */ color: oklch(45.0% 0.117 258.6);
Tailwind
colors: {
  custom: {
    50: '#7183b4',
    500: '#295495',
    950: '#000000',
  },
}
SCSS
$custom: #295495;
$custom-light: #7183b4;
$custom-dark: #000000;
JSON
{
  "hex": "#295495",
  "rgb": {
    "r": 41,
    "g": 84,
    "b": 149
  },
  "hsl": {
    "h": 216.111,
    "s": 56.842,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45022,
    "c": 0.11688,
    "h": 258.6
  },
  "luminance": 0.08982
}

Semantic roles & 50–950 ramp

primary
#295495
secondary
#BA9660
accent
#A348E0
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #295495

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

Preview Lab → · Contrast checker → · Palette generator →

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