#293B87#293B87

#293B87 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.4% C 0.129 H 269.4°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#293B87
RGBrgb(41, 59, 135)
HSLhsl(229, 53%, 35%)
HSVhsv(229, 70%, 53%)
CMYKcmyk(69.6%, 56.3%, 0%, 47.1%)
CIE-LABlab(27.70, 19.70, -44.77)
CIE-LCHlch(27.70, 48.91, 293.75°)
OKLaboklab(38.42% -0.0014 -0.1288)
OKLCHoklch(38.42% 0.129 269.4)
XYZxyz(6.8501, 5.3480, 23.5882)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293B87 #877529
analogous
#296A87 #293B87 #462987
triadic
#293B87 #87293B #3B8729
tetradic
#293B87 #87296A #877529 #298746
square
#293B87 #87296A #877529 #298746
split-complementary
#293B87 #874629 #6A8729
monochromatic
#0C1229 #1B2658 #293B87 #3750B6 #5D72CE

Accessibility & contrast

On white

10.15
#293B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#293B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293B87
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293B87#FFFFFF#000000##FFFFFF
##293B871.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468A
Deuteranopia (green-blind)
#003D85
Tritanopia (blue-blind)
#004D5B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #293b87;
/* rgb */ color: rgb(41, 59, 135);
/* oklch */ color: oklch(38.4% 0.129 269.4);
Tailwind
colors: {
  custom: {
    50: '#6f70ab',
    500: '#293b87',
    950: '#000000',
  },
}
SCSS
$custom: #293b87;
$custom-light: #6f70ab;
$custom-dark: #000000;
JSON
{
  "hex": "#293b87",
  "rgb": {
    "r": 41,
    "g": 59,
    "b": 135
  },
  "hsl": {
    "h": 228.511,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.38418,
    "c": 0.12877,
    "h": 269.4
  },
  "luminance": 0.05349
}

Semantic roles & 50–950 ramp

primary
#293B87
secondary
#B3A259
accent
#C14BDD
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #293B87

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

Preview Lab → · Contrast checker → · Palette generator →

#293B87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva