#295397#295397

#295397 is a dark, vivid blue. Relative luminance 0.089; OKLCH L 44.9% C 0.121 H 259.6°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#295397
RGBrgb(41, 83, 151)
HSLhsl(217, 57%, 38%)
HSVhsv(217, 73%, 59%)
CMYKcmyk(72.8%, 45%, 0%, 40.8%)
CIE-LABlab(35.77, 9.62, -41.57)
CIE-LCHlch(35.77, 42.67, 283.03°)
OKLaboklab(44.93% -0.0218 -0.1189)
OKLCHoklch(44.93% 0.121 259.6)
XYZxyz(9.5916, 8.8913, 30.4828)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295397 #976D29
analogous
#298A97 #295397 #362997
triadic
#295397 #972953 #539729
tetradic
#295397 #97298A #976D29 #299736
square
#295397 #97298A #976D29 #299736
split-complementary
#295397 #973629 #8A9729
monochromatic
#0F1E37 #1C3967 #295397 #366DC7 #6590D5

Accessibility & contrast

On white

7.56
#295397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#295397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295397
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295397#FFFFFF#000000##FFFFFF
##2953971.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315A9A
Deuteranopia (green-blind)
#1D4F96
Tritanopia (blue-blind)
#00636D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #295397;
/* rgb */ color: rgb(41, 83, 151);
/* oklch */ color: oklch(44.9% 0.121 259.6);
Tailwind
colors: {
  custom: {
    50: '#7182b6',
    500: '#295397',
    950: '#000000',
  },
}
SCSS
$custom: #295397;
$custom-light: #7182b6;
$custom-dark: #000000;
JSON
{
  "hex": "#295397",
  "rgb": {
    "r": 41,
    "g": 83,
    "b": 151
  },
  "hsl": {
    "h": 217.091,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.44928,
    "c": 0.12093,
    "h": 259.6
  },
  "luminance": 0.08892
}

Semantic roles & 50–950 ramp

primary
#295397
secondary
#BB9961
accent
#A647E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #295397

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

Preview Lab → · Contrast checker → · Palette generator →

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