#295BA4#295BA4

#295BA4 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.6% C 0.130 H 258.1°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#295BA4
RGBrgb(41, 91, 164)
HSLhsl(216, 60%, 40%)
HSVhsv(216, 75%, 64%)
CMYKcmyk(75%, 44.5%, 0%, 35.7%)
CIE-LABlab(38.95, 9.37, -44.27)
CIE-LCHlch(38.95, 45.25, 281.95°)
OKLaboklab(47.65% -0.0267 -0.1267)
OKLCHoklch(47.65% 0.13 258.1)
XYZxyz(11.3539, 10.6327, 36.5687)
Luminance0.1063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295BA4 #A47229
analogous
#2998A4 #295BA4 #3529A4
triadic
#295BA4 #A4295B #5BA429
tetradic
#295BA4 #A42998 #A47229 #29A435
square
#295BA4 #A42998 #A47229 #29A435
split-complementary
#295BA4 #A43529 #98A429
monochromatic
#112542 #1D4073 #295BA4 #3C77CE #6D99DA

Accessibility & contrast

On white

6.72
#295BA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#295BA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #295BA4
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295BA4#FFFFFF#000000##FFFFFF
##295BA41.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3662A7
Deuteranopia (green-blind)
#1F56A3
Tritanopia (blue-blind)
#006C77
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #295ba4;
/* rgb */ color: rgb(41, 91, 164);
/* oklch */ color: oklch(47.6% 0.130 258.1);
Tailwind
colors: {
  custom: {
    50: '#7488bf',
    500: '#295ba4',
    950: '#000000',
  },
}
SCSS
$custom: #295ba4;
$custom-light: #7488bf;
$custom-dark: #000000;
JSON
{
  "hex": "#295ba4",
  "rgb": {
    "r": 41,
    "g": 91,
    "b": 164
  },
  "hsl": {
    "h": 215.61,
    "s": 60,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47648,
    "c": 0.12953,
    "h": 258.1
  },
  "luminance": 0.10634
}

Semantic roles & 50–950 ramp

primary
#295BA4
secondary
#C19D68
accent
#A345E3
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #295BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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