#295FB9#295FB9

#295FB9 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.0% C 0.154 H 260.1°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#295FB9
RGBrgb(41, 95, 185)
HSLhsl(218, 64%, 44%)
HSVhsv(218, 78%, 73%)
CMYKcmyk(77.8%, 48.6%, 0%, 27.5%)
CIE-LABlab(41.46, 14.85, -52.62)
CIE-LCHlch(41.46, 54.67, 285.76°)
OKLaboklab(50.02% -0.0264 -0.1512)
OKLCHoklch(50.02% 0.154 260.1)
XYZxyz(13.7604, 12.1570, 47.5108)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295FB9 #B98329
analogous
#29A7B9 #295FB9 #3B29B9
triadic
#295FB9 #B9295F #5FB929
tetradic
#295FB9 #B929A7 #B98329 #29B93B
square
#295FB9 #B929A7 #B98329 #29B93B
split-complementary
#295FB9 #B93B29 #A7B929
monochromatic
#132C55 #1E4587 #295FB9 #497ED7 #7BA1E2

Accessibility & contrast

On white

6.12
#295FB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#295FB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #295FB9
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295FB9#FFFFFF#000000##FFFFFF
##295FB91.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B69BC
Deuteranopia (green-blind)
#005CB7
Tritanopia (blue-blind)
#007583
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #295fb9;
/* rgb */ color: rgb(41, 95, 185);
/* oklch */ color: oklch(50.0% 0.154 260.1);
Tailwind
colors: {
  custom: {
    50: '#788bcf',
    500: '#295fb9',
    950: '#000000',
  },
}
SCSS
$custom: #295fb9;
$custom-light: #788bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#295fb9",
  "rgb": {
    "r": 41,
    "g": 95,
    "b": 185
  },
  "hsl": {
    "h": 217.5,
    "s": 63.717,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50016,
    "c": 0.15352,
    "h": 260.1
  },
  "luminance": 0.12159
}

Semantic roles & 50–950 ramp

primary
#295FB9
secondary
#CAAA74
accent
#A941E7
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C14
muted
#7C7D82

Preview Lab

Preview with #295FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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