#295A9F#295A9F

#295A9F is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.1% C 0.124 H 257.5°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#295A9F
RGBrgb(41, 90, 159)
HSLhsl(215, 59%, 39%)
HSVhsv(215, 74%, 62%)
CMYKcmyk(74.2%, 43.4%, 0%, 37.6%)
CIE-LABlab(38.35, 8.10, -42.26)
CIE-LCHlch(38.35, 43.03, 280.86°)
OKLaboklab(47.08% -0.0268 -0.1208)
OKLCHoklch(47.08% 0.124 257.5)
XYZxyz(10.8263, 10.2858, 34.2089)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295A9F #9F6E29
analogous
#29959F #295A9F #33299F
triadic
#295A9F #9F295A #5A9F29
tetradic
#295A9F #9F2995 #9F6E29 #299F33
square
#295A9F #9F2995 #9F6E29 #299F33
split-complementary
#295A9F #9F3329 #959F29
monochromatic
#10233E #1C3E6E #295A9F #3976CC #6A98D9

Accessibility & contrast

On white

6.87
#295A9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#295A9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #295A9F
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295A9F#FFFFFF#000000##FFFFFF
##295A9F1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3860A2
Deuteranopia (green-blind)
#23559E
Tritanopia (blue-blind)
#006A74
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #295a9f;
/* rgb */ color: rgb(41, 90, 159);
/* oklch */ color: oklch(47.1% 0.124 257.5);
Tailwind
colors: {
  custom: {
    50: '#7388bc',
    500: '#295a9f',
    950: '#000000',
  },
}
SCSS
$custom: #295a9f;
$custom-light: #7388bc;
$custom-dark: #000000;
JSON
{
  "hex": "#295a9f",
  "rgb": {
    "r": 41,
    "g": 90,
    "b": 159
  },
  "hsl": {
    "h": 215.085,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47081,
    "c": 0.12377,
    "h": 257.5
  },
  "luminance": 0.10287
}

Semantic roles & 50–950 ramp

primary
#295A9F
secondary
#BF9A65
accent
#A146E2
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #295A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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