#295191#295191

#295191 is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.1% C 0.115 H 259.4°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#295191
RGBrgb(41, 81, 145)
HSLhsl(217, 56%, 36%)
HSVhsv(217, 72%, 57%)
CMYKcmyk(71.7%, 44.1%, 0%, 43.1%)
CIE-LABlab(34.80, 8.64, -39.49)
CIE-LCHlch(34.80, 40.42, 282.33°)
OKLaboklab(44.06% -0.0211 -0.1129)
OKLCHoklch(44.06% 0.115 259.4)
XYZxyz(8.9659, 8.3997, 27.9314)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295191 #916929
analogous
#298591 #295191 #352991
triadic
#295191 #912951 #519129
tetradic
#295191 #912985 #916929 #299135
square
#295191 #912985 #916929 #299135
split-complementary
#295191 #913529 #859129
monochromatic
#0E1C32 #1C3661 #295191 #366CC1 #628DD3

Accessibility & contrast

On white

7.84
#295191 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#295191 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295191
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295191#FFFFFF#000000##FFFFFF
##2951911.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325793
Deuteranopia (green-blind)
#204D90
Tritanopia (blue-blind)
#00606A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #295191;
/* rgb */ color: rgb(41, 81, 145);
/* oklch */ color: oklch(44.1% 0.115 259.4);
Tailwind
colors: {
  custom: {
    50: '#7081b2',
    500: '#295191',
    950: '#000000',
  },
}
SCSS
$custom: #295191;
$custom-light: #7081b2;
$custom-dark: #000000;
JSON
{
  "hex": "#295191",
  "rgb": {
    "r": 41,
    "g": 81,
    "b": 145
  },
  "hsl": {
    "h": 216.923,
    "s": 55.914,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44056,
    "c": 0.11482,
    "h": 259.4
  },
  "luminance": 0.08401
}

Semantic roles & 50–950 ramp

primary
#295191
secondary
#B8955D
accent
#A549DF
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #295191

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

Preview Lab → · Contrast checker → · Palette generator →

#295191 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva