#295291#295291

#295291 is a dark, moderate blue. Relative luminance 0.086; OKLCH L 44.3% C 0.114 H 258.8°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#295291
RGBrgb(41, 82, 145)
HSLhsl(216, 56%, 36%)
HSVhsv(216, 72%, 57%)
CMYKcmyk(71.7%, 43.4%, 0%, 43.1%)
CIE-LABlab(35.10, 7.97, -39.01)
CIE-LCHlch(35.10, 39.82, 281.55°)
OKLaboklab(44.29% -0.0221 -0.1114)
OKLCHoklch(44.29% 0.114 258.8)
XYZxyz(9.0407, 8.5494, 27.9563)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295291 #916829
analogous
#298691 #295291 #342991
triadic
#295291 #912952 #529129
tetradic
#295291 #912986 #916829 #299134
square
#295291 #912986 #916829 #299134
split-complementary
#295291 #913429 #869129
monochromatic
#0E1C32 #1C3761 #295291 #366DC1 #628ED3

Accessibility & contrast

On white

7.75
#295291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#295291 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295291
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295291#FFFFFF#000000##FFFFFF
##2952911.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345893
Deuteranopia (green-blind)
#224E90
Tritanopia (blue-blind)
#00616A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #295291;
/* rgb */ color: rgb(41, 82, 145);
/* oklch */ color: oklch(44.3% 0.114 258.8);
Tailwind
colors: {
  custom: {
    50: '#7082b2',
    500: '#295291',
    950: '#000000',
  },
}
SCSS
$custom: #295291;
$custom-light: #7082b2;
$custom-dark: #000000;
JSON
{
  "hex": "#295291",
  "rgb": {
    "r": 41,
    "g": 82,
    "b": 145
  },
  "hsl": {
    "h": 216.346,
    "s": 55.914,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44288,
    "c": 0.1136,
    "h": 258.8
  },
  "luminance": 0.0855
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #295291

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

Preview Lab → · Contrast checker → · Palette generator →

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