#295DB2#295DB2

#295DB2 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.1% C 0.146 H 259.8°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#295DB2
RGBrgb(41, 93, 178)
HSLhsl(217, 63%, 43%)
HSVhsv(217, 77%, 70%)
CMYKcmyk(77%, 47.8%, 0%, 30.2%)
CIE-LABlab(40.43, 13.46, -50.18)
CIE-LCHlch(40.43, 51.95, 285.02°)
OKLaboklab(49.08% -0.0259 -0.1441)
OKLCHoklch(49.08% 0.146 259.8)
XYZxyz(12.8618, 11.5130, 43.6552)
Luminance0.1151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295DB2 #B27E29
analogous
#29A1B2 #295DB2 #3929B2
triadic
#295DB2 #B2295D #5DB229
tetradic
#295DB2 #B229A1 #B27E29 #29B239
square
#295DB2 #B229A1 #B27E29 #29B239
split-complementary
#295DB2 #B23929 #A1B229
monochromatic
#12294F #1E4380 #295DB2 #447BD4 #769EDF

Accessibility & contrast

On white

6.36
#295DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#295DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #295DB2
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295DB2#FFFFFF#000000##FFFFFF
##295DB21.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E66B5
Deuteranopia (green-blind)
#0359B0
Tritanopia (blue-blind)
#00717F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #295db2;
/* rgb */ color: rgb(41, 93, 178);
/* oklch */ color: oklch(49.1% 0.146 259.8);
Tailwind
colors: {
  custom: {
    50: '#778aca',
    500: '#295db2',
    950: '#000000',
  },
}
SCSS
$custom: #295db2;
$custom-light: #778aca;
$custom-dark: #000000;
JSON
{
  "hex": "#295db2",
  "rgb": {
    "r": 41,
    "g": 93,
    "b": 178
  },
  "hsl": {
    "h": 217.226,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.49075,
    "c": 0.1464,
    "h": 259.8
  },
  "luminance": 0.11514
}

Semantic roles & 50–950 ramp

primary
#295DB2
secondary
#C7A670
accent
#A842E6
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #295DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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