#295AA7#295AA7

#295AA7 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.6% C 0.135 H 259.2°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#295AA7
RGBrgb(41, 90, 167)
HSLhsl(217, 61%, 41%)
HSVhsv(217, 75%, 65%)
CMYKcmyk(75.4%, 46.1%, 0%, 34.5%)
CIE-LABlab(38.85, 11.18, -46.22)
CIE-LCHlch(38.85, 47.55, 283.60°)
OKLaboklab(47.63% -0.0252 -0.1325)
OKLCHoklch(47.63% 0.135 259.2)
XYZxyz(11.5431, 10.5725, 37.9841)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295AA7 #A77629
analogous
#2999A7 #295AA7 #3729A7
triadic
#295AA7 #A7295A #5AA729
tetradic
#295AA7 #A72999 #A77629 #29A737
square
#295AA7 #A72999 #A77629 #29A737
split-complementary
#295AA7 #A73729 #99A729
monochromatic
#112545 #1D4076 #295AA7 #3E76D0 #6F99DC

Accessibility & contrast

On white

6.74
#295AA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#295AA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #295AA7
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295AA7#FFFFFF#000000##FFFFFF
##295AA71.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3262AA
Deuteranopia (green-blind)
#1656A5
Tritanopia (blue-blind)
#006C78
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #295aa7;
/* rgb */ color: rgb(41, 90, 167);
/* oklch */ color: oklch(47.6% 0.135 259.2);
Tailwind
colors: {
  custom: {
    50: '#7488c2',
    500: '#295aa7',
    950: '#000000',
  },
}
SCSS
$custom: #295aa7;
$custom-light: #7488c2;
$custom-dark: #000000;
JSON
{
  "hex": "#295aa7",
  "rgb": {
    "r": 41,
    "g": 90,
    "b": 167
  },
  "hsl": {
    "h": 216.667,
    "s": 60.577,
    "l": 40.784
  },
  "oklch": {
    "l": 0.47629,
    "c": 0.13488,
    "h": 259.2
  },
  "luminance": 0.10574
}

Semantic roles & 50–950 ramp

primary
#295AA7
secondary
#C2A069
accent
#A644E4
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #295AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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