#295AA4#295AA4

#295AA4 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.4% C 0.131 H 258.6°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#295AA4
RGBrgb(41, 90, 164)
HSLhsl(216, 60%, 40%)
HSVhsv(216, 75%, 64%)
CMYKcmyk(75%, 45.1%, 0%, 35.7%)
CIE-LABlab(38.66, 10.03, -44.74)
CIE-LCHlch(38.66, 45.85, 282.63°)
OKLaboklab(47.42% -0.0258 -0.1281)
OKLCHoklch(47.42% 0.131 258.6)
XYZxyz(11.2690, 10.4628, 36.5404)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295AA4 #A47329
analogous
#2997A4 #295AA4 #3629A4
triadic
#295AA4 #A4295A #5AA429
tetradic
#295AA4 #A42997 #A47329 #29A436
square
#295AA4 #A42997 #A47329 #29A436
split-complementary
#295AA4 #A43629 #97A429
monochromatic
#112442 #1D3F73 #295AA4 #3C76CE #6D99DA

Accessibility & contrast

On white

6.79
#295AA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#295AA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #295AA4
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295AA4#FFFFFF#000000##FFFFFF
##295AA41.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3461A7
Deuteranopia (green-blind)
#1C56A3
Tritanopia (blue-blind)
#006B77
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #295aa4;
/* rgb */ color: rgb(41, 90, 164);
/* oklch */ color: oklch(47.4% 0.131 258.6);
Tailwind
colors: {
  custom: {
    50: '#7488bf',
    500: '#295aa4',
    950: '#000000',
  },
}
SCSS
$custom: #295aa4;
$custom-light: #7488bf;
$custom-dark: #000000;
JSON
{
  "hex": "#295aa4",
  "rgb": {
    "r": 41,
    "g": 90,
    "b": 164
  },
  "hsl": {
    "h": 216.098,
    "s": 60,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47421,
    "c": 0.13072,
    "h": 258.6
  },
  "luminance": 0.10464
}

Semantic roles & 50–950 ramp

primary
#295AA4
secondary
#C19E68
accent
#A445E3
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #295AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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