#295EB2#295EB2

#295EB2 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.3% C 0.145 H 259.4°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#295EB2
RGBrgb(41, 94, 178)
HSLhsl(217, 63%, 43%)
HSVhsv(217, 77%, 70%)
CMYKcmyk(77%, 47.2%, 0%, 30.2%)
CIE-LABlab(40.72, 12.81, -49.72)
CIE-LCHlch(40.72, 51.34, 284.45°)
OKLaboklab(49.3% -0.0267 -0.1427)
OKLCHoklch(49.3% 0.145 259.4)
XYZxyz(12.9501, 11.6897, 43.6847)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295EB2 #B27D29
analogous
#29A2B2 #295EB2 #3829B2
triadic
#295EB2 #B2295E #5EB229
tetradic
#295EB2 #B229A2 #B27D29 #29B238
square
#295EB2 #B229A2 #B27D29 #29B238
split-complementary
#295EB2 #B23829 #A2B229
monochromatic
#12294F #1E4480 #295EB2 #447CD4 #769FDF

Accessibility & contrast

On white

6.29
#295EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#295EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #295EB2
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295EB2#FFFFFF#000000##FFFFFF
##295EB21.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3067B5
Deuteranopia (green-blind)
#0A5AB0
Tritanopia (blue-blind)
#00727F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #295eb2;
/* rgb */ color: rgb(41, 94, 178);
/* oklch */ color: oklch(49.3% 0.145 259.4);
Tailwind
colors: {
  custom: {
    50: '#778bc9',
    500: '#295eb2',
    950: '#000000',
  },
}
SCSS
$custom: #295eb2;
$custom-light: #778bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#295eb2",
  "rgb": {
    "r": 41,
    "g": 94,
    "b": 178
  },
  "hsl": {
    "h": 216.788,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.49296,
    "c": 0.14519,
    "h": 259.4
  },
  "luminance": 0.11691
}

Semantic roles & 50–950 ramp

primary
#295EB2
secondary
#C7A570
accent
#A642E6
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #295EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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