#295393#295393

#295393 is a dark, moderate blue. Relative luminance 0.088; OKLCH L 44.7% C 0.115 H 258.7°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#295393
RGBrgb(41, 83, 147)
HSLhsl(216, 56%, 37%)
HSVhsv(216, 72%, 58%)
CMYKcmyk(72.1%, 43.5%, 0%, 42.4%)
CIE-LABlab(35.52, 8.08, -39.55)
CIE-LCHlch(35.52, 40.37, 281.55°)
OKLaboklab(44.66% -0.0226 -0.113)
OKLCHoklch(44.66% 0.115 258.7)
XYZxyz(9.2723, 8.7635, 28.8010)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295393 #936929
analogous
#298893 #295393 #342993
triadic
#295393 #932953 #539329
tetradic
#295393 #932988 #936929 #299334
square
#295393 #932988 #936929 #299334
split-complementary
#295393 #933429 #889329
monochromatic
#0E1D33 #1C3863 #295393 #366EC3 #6390D3

Accessibility & contrast

On white

7.63
#295393 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#295393 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295393
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295393#FFFFFF#000000##FFFFFF
##2953931.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345995
Deuteranopia (green-blind)
#224F92
Tritanopia (blue-blind)
#00626C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #295393;
/* rgb */ color: rgb(41, 83, 147);
/* oklch */ color: oklch(44.7% 0.115 258.7);
Tailwind
colors: {
  custom: {
    50: '#7082b3',
    500: '#295393',
    950: '#000000',
  },
}
SCSS
$custom: #295393;
$custom-light: #7082b3;
$custom-dark: #000000;
JSON
{
  "hex": "#295393",
  "rgb": {
    "r": 41,
    "g": 83,
    "b": 147
  },
  "hsl": {
    "h": 216.226,
    "s": 56.383,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44655,
    "c": 0.11525,
    "h": 258.7
  },
  "luminance": 0.08765
}

Semantic roles & 50–950 ramp

primary
#295393
secondary
#B9955E
accent
#A448E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #295393

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

Preview Lab → · Contrast checker → · Palette generator →

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