#295BA2#295BA2

#295BA2 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.5% C 0.127 H 257.7°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#295BA2
RGBrgb(41, 91, 162)
HSLhsl(215, 60%, 40%)
HSVhsv(215, 75%, 64%)
CMYKcmyk(74.7%, 43.8%, 0%, 36.5%)
CIE-LABlab(38.83, 8.60, -43.28)
CIE-LCHlch(38.83, 44.13, 281.25°)
OKLaboklab(47.51% -0.0271 -0.1238)
OKLCHoklch(47.51% 0.127 257.7)
XYZxyz(11.1747, 10.5610, 35.6249)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295BA2 #A27029
analogous
#2997A2 #295BA2 #3429A2
triadic
#295BA2 #A2295B #5BA229
tetradic
#295BA2 #A22997 #A27029 #29A234
square
#295BA2 #A22997 #A27029 #29A234
split-complementary
#295BA2 #A23429 #97A229
monochromatic
#102440 #1D4071 #295BA2 #3B77CD #6C99DA

Accessibility & contrast

On white

6.75
#295BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #295BA2
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295BA2#FFFFFF#000000##FFFFFF
##295BA21.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3861A5
Deuteranopia (green-blind)
#2256A1
Tritanopia (blue-blind)
#006C76
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #295ba2;
/* rgb */ color: rgb(41, 91, 162);
/* oklch */ color: oklch(47.5% 0.127 257.7);
Tailwind
colors: {
  custom: {
    50: '#7388be',
    500: '#295ba2',
    950: '#000000',
  },
}
SCSS
$custom: #295ba2;
$custom-light: #7388be;
$custom-dark: #000000;
JSON
{
  "hex": "#295ba2",
  "rgb": {
    "r": 41,
    "g": 91,
    "b": 162
  },
  "hsl": {
    "h": 215.207,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47513,
    "c": 0.12676,
    "h": 257.7
  },
  "luminance": 0.10562
}

Semantic roles & 50–950 ramp

primary
#295BA2
secondary
#C09B67
accent
#A245E3
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #295BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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