#295494#295494

#295494 is a dark, moderate blue. Relative luminance 0.089; OKLCH L 45.0% C 0.115 H 258.3°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#295494
RGBrgb(41, 84, 148)
HSLhsl(216, 57%, 37%)
HSVhsv(216, 72%, 58%)
CMYKcmyk(72.3%, 43.2%, 0%, 42%)
CIE-LABlab(35.89, 7.81, -39.58)
CIE-LCHlch(35.89, 40.34, 281.16°)
OKLaboklab(44.95% -0.0234 -0.1131)
OKLCHoklch(44.95% 0.115 258.3)
XYZxyz(9.4281, 8.9492, 29.2417)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295494 #946929
analogous
#298A94 #295494 #342994
triadic
#295494 #942954 #549429
tetradic
#295494 #94298A #946929 #299434
square
#295494 #94298A #946929 #299434
split-complementary
#295494 #943429 #8A9429
monochromatic
#0E1E34 #1C3964 #295494 #366FC4 #6391D4

Accessibility & contrast

On white

7.53
#295494 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#295494 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295494
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295494#FFFFFF#000000##FFFFFF
##2954941.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355A96
Deuteranopia (green-blind)
#235093
Tritanopia (blue-blind)
#00636C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #295494;
/* rgb */ color: rgb(41, 84, 148);
/* oklch */ color: oklch(45.0% 0.115 258.3);
Tailwind
colors: {
  custom: {
    50: '#7183b4',
    500: '#295494',
    950: '#000000',
  },
}
SCSS
$custom: #295494;
$custom-light: #7183b4;
$custom-dark: #000000;
JSON
{
  "hex": "#295494",
  "rgb": {
    "r": 41,
    "g": 84,
    "b": 148
  },
  "hsl": {
    "h": 215.888,
    "s": 56.614,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44954,
    "c": 0.11546,
    "h": 258.3
  },
  "luminance": 0.0895
}

Semantic roles & 50–950 ramp

primary
#295494
secondary
#BA955F
accent
#A348E0
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #295494

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

Preview Lab → · Contrast checker → · Palette generator →

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