#295491#295491

#295491 is a dark, moderate blue. Relative luminance 0.089; OKLCH L 44.8% C 0.111 H 257.5°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#295491
RGBrgb(41, 84, 145)
HSLhsl(215, 56%, 36%)
HSVhsv(215, 72%, 57%)
CMYKcmyk(71.7%, 42.1%, 0%, 43.1%)
CIE-LABlab(35.70, 6.66, -38.05)
CIE-LCHlch(35.70, 38.63, 279.92°)
OKLaboklab(44.76% -0.024 -0.1086)
OKLCHoklch(44.76% 0.111 257.5)
XYZxyz(9.1938, 8.8554, 28.0073)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295491 #916629
analogous
#298891 #295491 #322991
triadic
#295491 #912954 #549129
tetradic
#295491 #912988 #916629 #299132
square
#295491 #912988 #916629 #299132
split-complementary
#295491 #913229 #889129
monochromatic
#0E1D32 #1C3861 #295491 #3670C1 #6290D3

Accessibility & contrast

On white

7.58
#295491 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#295491 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295491
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295491#FFFFFF#000000##FFFFFF
##2954911.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375993
Deuteranopia (green-blind)
#275090
Tritanopia (blue-blind)
#00626B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #295491;
/* rgb */ color: rgb(41, 84, 145);
/* oklch */ color: oklch(44.8% 0.111 257.5);
Tailwind
colors: {
  custom: {
    50: '#7083b1',
    500: '#295491',
    950: '#000000',
  },
}
SCSS
$custom: #295491;
$custom-light: #7083b1;
$custom-dark: #000000;
JSON
{
  "hex": "#295491",
  "rgb": {
    "r": 41,
    "g": 84,
    "b": 145
  },
  "hsl": {
    "h": 215.192,
    "s": 55.914,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44755,
    "c": 0.11122,
    "h": 257.5
  },
  "luminance": 0.08856
}

Semantic roles & 50–950 ramp

primary
#295491
secondary
#B8935D
accent
#A149DF
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #295491

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

Preview Lab → · Contrast checker → · Palette generator →

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