#295EC6#295EC6

#295EC6 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.8% C 0.172 H 262.0°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#295EC6
RGBrgb(41, 94, 198)
HSLhsl(220, 66%, 47%)
HSVhsv(220, 79%, 78%)
CMYKcmyk(79.3%, 52.5%, 0%, 22.4%)
CIE-LABlab(42.08, 20.49, -59.18)
CIE-LCHlch(42.08, 62.63, 289.10°)
OKLaboklab(50.77% -0.024 -0.1706)
OKLCHoklch(50.77% 0.172 262)
XYZxyz(15.1065, 12.5523, 55.0418)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295EC6 #C69129
analogous
#29ADC6 #295EC6 #4329C6
triadic
#295EC6 #C6295E #5EC629
tetradic
#295EC6 #C629AD #C69129 #29C643
square
#295EC6 #C629AD #C69129 #29C643
split-complementary
#295EC6 #C64329 #ADC629
monochromatic
#142E61 #1F4693 #295EC6 #5180DB #84A5E6

Accessibility & contrast

On white

5.98
#295EC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#295EC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #295EC6
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295EC6#FFFFFF#000000##FFFFFF
##295EC61.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#116BCA
Deuteranopia (green-blind)
#005DC4
Tritanopia (blue-blind)
#007789
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #295ec6;
/* rgb */ color: rgb(41, 94, 198);
/* oklch */ color: oklch(50.8% 0.172 262.0);
Tailwind
colors: {
  custom: {
    50: '#7b8bd8',
    500: '#295ec6',
    950: '#000000',
  },
}
SCSS
$custom: #295ec6;
$custom-light: #7b8bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#295ec6",
  "rgb": {
    "r": 41,
    "g": 94,
    "b": 198
  },
  "hsl": {
    "h": 219.745,
    "s": 65.69,
    "l": 46.863
  },
  "oklch": {
    "l": 0.50772,
    "c": 0.17224,
    "h": 262
  },
  "luminance": 0.12554
}

Semantic roles & 50–950 ramp

primary
#295EC6
secondary
#CFB37C
accent
#AF3FE9
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B15
muted
#7C7C83

Preview Lab

Preview with #295EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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