#295BA1#295BA1

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

Color values

HEX#295BA1
RGBrgb(41, 91, 161)
HSLhsl(215, 59%, 40%)
HSVhsv(215, 75%, 63%)
CMYKcmyk(74.5%, 43.5%, 0%, 36.9%)
CIE-LABlab(38.77, 8.22, -42.78)
CIE-LCHlch(38.77, 43.56, 280.88°)
OKLaboklab(47.45% -0.0273 -0.1224)
OKLCHoklch(47.45% 0.125 257.4)
XYZxyz(11.0862, 10.5256, 35.1587)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295BA1 #A16F29
analogous
#2997A1 #295BA1 #3329A1
triadic
#295BA1 #A1295B #5BA129
tetradic
#295BA1 #A12997 #A16F29 #29A133
square
#295BA1 #A12997 #A16F29 #29A133
split-complementary
#295BA1 #A13329 #97A129
monochromatic
#10243F #1D3F70 #295BA1 #3A77CD #6B99D9

Accessibility & contrast

On white

6.76
#295BA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#295BA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #295BA1
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295BA1#FFFFFF#000000##FFFFFF
##295BA11.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3961A4
Deuteranopia (green-blind)
#2356A0
Tritanopia (blue-blind)
#006B76
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #295ba1;
/* rgb */ color: rgb(41, 91, 161);
/* oklch */ color: oklch(47.4% 0.125 257.4);
Tailwind
colors: {
  custom: {
    50: '#7388bd',
    500: '#295ba1',
    950: '#000000',
  },
}
SCSS
$custom: #295ba1;
$custom-light: #7388bd;
$custom-dark: #000000;
JSON
{
  "hex": "#295ba1",
  "rgb": {
    "r": 41,
    "g": 91,
    "b": 161
  },
  "hsl": {
    "h": 215,
    "s": 59.406,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47445,
    "c": 0.12537,
    "h": 257.4
  },
  "luminance": 0.10527
}

Semantic roles & 50–950 ramp

primary
#295BA1
secondary
#C09A66
accent
#A145E3
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #295BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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