#293785#293785

#293785 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.4% C 0.131 H 271.0°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#293785
RGBrgb(41, 55, 133)
HSLhsl(231, 53%, 34%)
HSVhsv(231, 69%, 52%)
CMYKcmyk(69.2%, 58.6%, 0%, 47.8%)
CIE-LABlab(26.44, 21.68, -45.57)
CIE-LCHlch(26.44, 50.47, 295.44°)
OKLaboklab(37.42% 0.0022 -0.1312)
OKLCHoklch(37.42% 0.131 271)
XYZxyz(6.5128, 4.8966, 22.7877)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293785 #857729
analogous
#296585 #293785 #492985
triadic
#293785 #852937 #378529
tetradic
#293785 #852965 #857729 #298549
square
#293785 #852965 #857729 #298549
split-complementary
#293785 #854929 #658529
monochromatic
#0C1027 #1B2456 #293785 #374AB4 #5C6DCD

Accessibility & contrast

On white

10.61
#293785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#293785 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293785
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293785#FFFFFF#000000##FFFFFF
##2937851.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004388
Deuteranopia (green-blind)
#003B83
Tritanopia (blue-blind)
#004A58
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #293785;
/* rgb */ color: rgb(41, 55, 133);
/* oklch */ color: oklch(37.4% 0.131 271.0);
Tailwind
colors: {
  custom: {
    50: '#6f6da9',
    500: '#293785',
    950: '#000000',
  },
}
SCSS
$custom: #293785;
$custom-light: #6f6da9;
$custom-dark: #000000;
JSON
{
  "hex": "#293785",
  "rgb": {
    "r": 41,
    "g": 55,
    "b": 133
  },
  "hsl": {
    "h": 230.87,
    "s": 52.874,
    "l": 34.118
  },
  "oklch": {
    "l": 0.3742,
    "c": 0.13121,
    "h": 271
  },
  "luminance": 0.04897
}

Semantic roles & 50–950 ramp

primary
#293785
secondary
#B2A458
accent
#C64CDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #293785

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

Preview Lab → · Contrast checker → · Palette generator →

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