#295398#295398

#295398 is a dark, vivid blue. Relative luminance 0.089; OKLCH L 45.0% C 0.122 H 259.8°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#295398
RGBrgb(41, 83, 152)
HSLhsl(217, 58%, 38%)
HSVhsv(217, 73%, 60%)
CMYKcmyk(73%, 45.4%, 0%, 40.4%)
CIE-LABlab(35.84, 10.01, -42.07)
CIE-LCHlch(35.84, 43.25, 283.38°)
OKLaboklab(45% -0.0216 -0.1204)
OKLCHoklch(45% 0.122 259.8)
XYZxyz(9.6732, 8.9239, 30.9124)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295398 #986E29
analogous
#298B98 #295398 #362998
triadic
#295398 #982953 #539829
tetradic
#295398 #98298B #986E29 #299836
square
#295398 #98298B #986E29 #299836
split-complementary
#295398 #983629 #8B9829
monochromatic
#0F1E38 #1C3968 #295398 #366DC8 #6690D6

Accessibility & contrast

On white

7.54
#295398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #295398
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295398#FFFFFF#000000##FFFFFF
##2953981.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305A9B
Deuteranopia (green-blind)
#1B5097
Tritanopia (blue-blind)
#00636E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #295398;
/* rgb */ color: rgb(41, 83, 152);
/* oklch */ color: oklch(45.0% 0.122 259.8);
Tailwind
colors: {
  custom: {
    50: '#7182b7',
    500: '#295398',
    950: '#000000',
  },
}
SCSS
$custom: #295398;
$custom-light: #7182b7;
$custom-dark: #000000;
JSON
{
  "hex": "#295398",
  "rgb": {
    "r": 41,
    "g": 83,
    "b": 152
  },
  "hsl": {
    "h": 217.297,
    "s": 57.513,
    "l": 37.843
  },
  "oklch": {
    "l": 0.44997,
    "c": 0.12236,
    "h": 259.8
  },
  "luminance": 0.08925
}

Semantic roles & 50–950 ramp

primary
#295398
secondary
#BC9961
accent
#A747E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #295398

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

Preview Lab → · Contrast checker → · Palette generator →

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