#295BA7#295BA7

#295BA7 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 47.9% C 0.134 H 258.7°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#295BA7
RGBrgb(41, 91, 167)
HSLhsl(216, 61%, 41%)
HSVhsv(216, 75%, 65%)
CMYKcmyk(75.4%, 45.5%, 0%, 34.5%)
CIE-LABlab(39.14, 10.53, -45.75)
CIE-LCHlch(39.14, 46.95, 282.96°)
OKLaboklab(47.85% -0.0261 -0.1311)
OKLCHoklch(47.85% 0.134 258.7)
XYZxyz(11.6280, 10.7423, 38.0124)
Luminance0.1074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295BA7 #A77529
analogous
#299AA7 #295BA7 #3629A7
triadic
#295BA7 #A7295B #5BA729
tetradic
#295BA7 #A7299A #A77529 #29A736
square
#295BA7 #A7299A #A77529 #29A736
split-complementary
#295BA7 #A73629 #9AA729
monochromatic
#112545 #1D4076 #295BA7 #3E78D0 #6F9ADC

Accessibility & contrast

On white

6.67
#295BA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#295BA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #295BA7
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295BA7#FFFFFF#000000##FFFFFF
##295BA71.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3462AA
Deuteranopia (green-blind)
#1A57A5
Tritanopia (blue-blind)
#006D79
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #295ba7;
/* rgb */ color: rgb(41, 91, 167);
/* oklch */ color: oklch(47.9% 0.134 258.7);
Tailwind
colors: {
  custom: {
    50: '#7488c2',
    500: '#295ba7',
    950: '#000000',
  },
}
SCSS
$custom: #295ba7;
$custom-light: #7488c2;
$custom-dark: #000000;
JSON
{
  "hex": "#295ba7",
  "rgb": {
    "r": 41,
    "g": 91,
    "b": 167
  },
  "hsl": {
    "h": 216.19,
    "s": 60.577,
    "l": 40.784
  },
  "oklch": {
    "l": 0.47854,
    "c": 0.13367,
    "h": 258.7
  },
  "luminance": 0.10744
}

Semantic roles & 50–950 ramp

primary
#295BA7
secondary
#C29F69
accent
#A444E4
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #295BA7

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

Preview Lab → · Contrast checker → · Palette generator →

#295BA7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva