#295EB7#295EB7

#295EB7 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.7% C 0.152 H 260.2°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#295EB7
RGBrgb(41, 94, 183)
HSLhsl(218, 63%, 44%)
HSVhsv(218, 78%, 72%)
CMYKcmyk(77.6%, 48.6%, 0%, 28.2%)
CIE-LABlab(41.05, 14.73, -52.12)
CIE-LCHlch(41.05, 54.16, 285.78°)
OKLaboklab(49.65% -0.0259 -0.1498)
OKLCHoklch(49.65% 0.152 260.2)
XYZxyz(13.4613, 11.8942, 46.3769)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295EB7 #B78229
analogous
#29A5B7 #295EB7 #3B29B7
triadic
#295EB7 #B7295E #5EB729
tetradic
#295EB7 #B729A5 #B78229 #29B73B
square
#295EB7 #B729A5 #B78229 #29B73B
split-complementary
#295EB7 #B73B29 #A5B729
monochromatic
#132B53 #1E4485 #295EB7 #477DD6 #79A0E1

Accessibility & contrast

On white

6.21
#295EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#295EB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #295EB7
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295EB7#FFFFFF#000000##FFFFFF
##295EB71.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B68BA
Deuteranopia (green-blind)
#005BB5
Tritanopia (blue-blind)
#007382
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #295eb7;
/* rgb */ color: rgb(41, 94, 183);
/* oklch */ color: oklch(49.7% 0.152 260.2);
Tailwind
colors: {
  custom: {
    50: '#788bcd',
    500: '#295eb7',
    950: '#000000',
  },
}
SCSS
$custom: #295eb7;
$custom-light: #788bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#295eb7",
  "rgb": {
    "r": 41,
    "g": 94,
    "b": 183
  },
  "hsl": {
    "h": 217.606,
    "s": 63.393,
    "l": 43.922
  },
  "oklch": {
    "l": 0.49654,
    "c": 0.15201,
    "h": 260.2
  },
  "luminance": 0.11896
}

Semantic roles & 50–950 ramp

primary
#295EB7
secondary
#C9A973
accent
#A941E6
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #295EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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