#295DB8#295DB8

#295DB8 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.5% C 0.155 H 260.7°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#295DB8
RGBrgb(41, 93, 184)
HSLhsl(218, 64%, 44%)
HSVhsv(218, 78%, 72%)
CMYKcmyk(77.7%, 49.5%, 0%, 27.8%)
CIE-LABlab(40.83, 15.77, -53.06)
CIE-LCHlch(40.83, 55.35, 286.55°)
OKLaboklab(49.51% -0.025 -0.1525)
OKLCHoklch(49.51% 0.155 260.7)
XYZxyz(13.4774, 11.7593, 46.8976)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295DB8 #B88429
analogous
#29A5B8 #295DB8 #3D29B8
triadic
#295DB8 #B8295D #5DB829
tetradic
#295DB8 #B829A5 #B88429 #29B83D
square
#295DB8 #B829A5 #B88429 #29B83D
split-complementary
#295DB8 #B83D29 #A5B829
monochromatic
#132A54 #1E4486 #295DB8 #487CD6 #7AA0E1

Accessibility & contrast

On white

6.26
#295DB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#295DB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #295DB8
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295DB8#FFFFFF#000000##FFFFFF
##295DB81.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2767BB
Deuteranopia (green-blind)
#005AB6
Tritanopia (blue-blind)
#007382
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #295db8;
/* rgb */ color: rgb(41, 93, 184);
/* oklch */ color: oklch(49.5% 0.155 260.7);
Tailwind
colors: {
  custom: {
    50: '#788ace',
    500: '#295db8',
    950: '#000000',
  },
}
SCSS
$custom: #295db8;
$custom-light: #788ace;
$custom-dark: #000000;
JSON
{
  "hex": "#295db8",
  "rgb": {
    "r": 41,
    "g": 93,
    "b": 184
  },
  "hsl": {
    "h": 218.182,
    "s": 63.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.49509,
    "c": 0.15458,
    "h": 260.7
  },
  "luminance": 0.11761
}

Semantic roles & 50–950 ramp

primary
#295DB8
secondary
#C9AA73
accent
#AA41E7
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0B14
muted
#7C7C82

Preview Lab

Preview with #295DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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