#295AB7#295AB7

#295AB7 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.8% C 0.157 H 261.7°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#295AB7
RGBrgb(41, 90, 183)
HSLhsl(219, 63%, 44%)
HSVhsv(219, 78%, 72%)
CMYKcmyk(77.6%, 50.8%, 0%, 28.2%)
CIE-LABlab(39.92, 17.35, -53.95)
CIE-LCHlch(39.92, 56.67, 287.83°)
OKLaboklab(48.79% -0.0228 -0.1552)
OKLCHoklch(48.79% 0.157 261.7)
XYZxyz(13.1148, 11.2011, 46.2614)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295AB7 #B78629
analogous
#29A1B7 #295AB7 #3F29B7
triadic
#295AB7 #B7295A #5AB729
tetradic
#295AB7 #B729A1 #B78629 #29B73F
square
#295AB7 #B729A1 #B78629 #29B73F
split-complementary
#295AB7 #B73F29 #A1B729
monochromatic
#132953 #1E4185 #295AB7 #4779D6 #799DE1

Accessibility & contrast

On white

6.48
#295AB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#295AB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #295AB7
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295AB7#FFFFFF#000000##FFFFFF
##295AB71.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F65BA
Deuteranopia (green-blind)
#0058B5
Tritanopia (blue-blind)
#007080
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #295ab7;
/* rgb */ color: rgb(41, 90, 183);
/* oklch */ color: oklch(48.8% 0.157 261.7);
Tailwind
colors: {
  custom: {
    50: '#7888cd',
    500: '#295ab7',
    950: '#000000',
  },
}
SCSS
$custom: #295ab7;
$custom-light: #7888cd;
$custom-dark: #000000;
JSON
{
  "hex": "#295ab7",
  "rgb": {
    "r": 41,
    "g": 90,
    "b": 183
  },
  "hsl": {
    "h": 219.296,
    "s": 63.393,
    "l": 43.922
  },
  "oklch": {
    "l": 0.48789,
    "c": 0.15689,
    "h": 261.7
  },
  "luminance": 0.11203
}

Semantic roles & 50–950 ramp

primary
#295AB7
secondary
#C9AB73
accent
#AD41E6
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #295AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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