#293795#293795

#293795 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.8% C 0.154 H 270.8°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#293795
RGBrgb(41, 55, 149)
HSLhsl(232, 57%, 37%)
HSVhsv(232, 72%, 58%)
CMYKcmyk(72.5%, 63.1%, 0%, 41.6%)
CIE-LABlab(27.77, 27.71, -53.30)
CIE-LCHlch(27.77, 60.07, 297.47°)
OKLaboklab(38.83% 0.0022 -0.1539)
OKLCHoklch(38.83% 0.154 270.8)
XYZxyz(7.7036, 5.3729, 29.0590)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293795 #958729
analogous
#296D95 #293795 #512995
triadic
#293795 #952937 #379529
tetradic
#293795 #95296D #958729 #299551
square
#293795 #95296D #958729 #299551
split-complementary
#293795 #955129 #6D9529
monochromatic
#0F1435 #1C2565 #293795 #3649C5 #6473D4

Accessibility & contrast

On white

10.12
#293795 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#293795 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293795
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293795#FFFFFF#000000##FFFFFF
##2937951.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004798
Deuteranopia (green-blind)
#003D93
Tritanopia (blue-blind)
#004F60
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #293795;
/* rgb */ color: rgb(41, 55, 149);
/* oklch */ color: oklch(38.8% 0.154 270.8);
Tailwind
colors: {
  custom: {
    50: '#726db5',
    500: '#293795',
    950: '#000000',
  },
}
SCSS
$custom: #293795;
$custom-light: #726db5;
$custom-dark: #000000;
JSON
{
  "hex": "#293795",
  "rgb": {
    "r": 41,
    "g": 55,
    "b": 149
  },
  "hsl": {
    "h": 232.222,
    "s": 56.842,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38827,
    "c": 0.15389,
    "h": 270.8
  },
  "luminance": 0.05374
}

Semantic roles & 50–950 ramp

primary
#293795
secondary
#BAAF60
accent
#CC48E0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #293795

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

Preview Lab → · Contrast checker → · Palette generator →

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