#295BA3#295BA3

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

Color values

HEX#295BA3
RGBrgb(41, 91, 163)
HSLhsl(215, 60%, 40%)
HSVhsv(215, 75%, 64%)
CMYKcmyk(74.8%, 44.2%, 0%, 36.1%)
CIE-LABlab(38.89, 8.99, -43.78)
CIE-LCHlch(38.89, 44.69, 281.60°)
OKLaboklab(47.58% -0.0269 -0.1253)
OKLCHoklch(47.58% 0.128 257.9)
XYZxyz(11.2640, 10.5967, 36.0949)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295BA3 #A37129
analogous
#2998A3 #295BA3 #3429A3
triadic
#295BA3 #A3295B #5BA329
tetradic
#295BA3 #A32998 #A37129 #29A334
square
#295BA3 #A32998 #A37129 #29A334
split-complementary
#295BA3 #A33429 #98A329
monochromatic
#102441 #1D4072 #295BA3 #3B77CE #6C99DA

Accessibility & contrast

On white

6.73
#295BA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#295BA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #295BA3
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295BA3#FFFFFF#000000##FFFFFF
##295BA31.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3762A6
Deuteranopia (green-blind)
#2056A2
Tritanopia (blue-blind)
#006C77
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #295ba3;
/* rgb */ color: rgb(41, 91, 163);
/* oklch */ color: oklch(47.6% 0.128 257.9);
Tailwind
colors: {
  custom: {
    50: '#7488bf',
    500: '#295ba3',
    950: '#000000',
  },
}
SCSS
$custom: #295ba3;
$custom-light: #7488bf;
$custom-dark: #000000;
JSON
{
  "hex": "#295ba3",
  "rgb": {
    "r": 41,
    "g": 91,
    "b": 163
  },
  "hsl": {
    "h": 215.41,
    "s": 59.804,
    "l": 40
  },
  "oklch": {
    "l": 0.4758,
    "c": 0.12814,
    "h": 257.9
  },
  "luminance": 0.10598
}

Semantic roles & 50–950 ramp

primary
#295BA3
secondary
#C19C67
accent
#A245E3
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #295BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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