#295AA1#295AA1

#295AA1 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.2% C 0.127 H 258.0°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#295AA1
RGBrgb(41, 90, 161)
HSLhsl(216, 59%, 40%)
HSVhsv(216, 75%, 63%)
CMYKcmyk(74.5%, 44.1%, 0%, 36.9%)
CIE-LABlab(38.47, 8.87, -43.25)
CIE-LCHlch(38.47, 44.15, 281.59°)
OKLaboklab(47.22% -0.0264 -0.1238)
OKLCHoklch(47.22% 0.127 258)
XYZxyz(11.0013, 10.3557, 35.1304)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295AA1 #A17029
analogous
#2996A1 #295AA1 #3429A1
triadic
#295AA1 #A1295A #5AA129
tetradic
#295AA1 #A12996 #A17029 #29A134
square
#295AA1 #A12996 #A17029 #29A134
split-complementary
#295AA1 #A13429 #96A129
monochromatic
#10233F #1D3F70 #295AA1 #3A76CD #6B98D9

Accessibility & contrast

On white

6.84
#295AA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#295AA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #295AA1
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295AA1#FFFFFF#000000##FFFFFF
##295AA11.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3761A4
Deuteranopia (green-blind)
#2155A0
Tritanopia (blue-blind)
#006B75
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #295aa1;
/* rgb */ color: rgb(41, 90, 161);
/* oklch */ color: oklch(47.2% 0.127 258.0);
Tailwind
colors: {
  custom: {
    50: '#7388bd',
    500: '#295aa1',
    950: '#000000',
  },
}
SCSS
$custom: #295aa1;
$custom-light: #7388bd;
$custom-dark: #000000;
JSON
{
  "hex": "#295aa1",
  "rgb": {
    "r": 41,
    "g": 90,
    "b": 161
  },
  "hsl": {
    "h": 215.5,
    "s": 59.406,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47216,
    "c": 0.12655,
    "h": 258
  },
  "luminance": 0.10357
}

Semantic roles & 50–950 ramp

primary
#295AA1
secondary
#C09B66
accent
#A245E3
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #295AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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