#293A87#293A87

#293A87 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.2% C 0.130 H 269.8°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#293A87
RGBrgb(41, 58, 135)
HSLhsl(229, 53%, 35%)
HSVhsv(229, 70%, 53%)
CMYKcmyk(69.6%, 57%, 0%, 47.1%)
CIE-LABlab(27.43, 20.38, -45.22)
CIE-LCHlch(27.43, 49.60, 294.26°)
OKLaboklab(38.21% -0.0004 -0.1301)
OKLCHoklch(38.21% 0.13 269.8)
XYZxyz(6.7992, 5.2462, 23.5713)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293A87 #877629
analogous
#296987 #293A87 #472987
triadic
#293A87 #87293A #3A8729
tetradic
#293A87 #872969 #877629 #298747
square
#293A87 #872969 #877629 #298747
split-complementary
#293A87 #874729 #698729
monochromatic
#0C1229 #1B2658 #293A87 #374EB6 #5D71CE

Accessibility & contrast

On white

10.25
#293A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#293A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293A87
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293A87#FFFFFF#000000##FFFFFF
##293A871.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #293a87;
/* rgb */ color: rgb(41, 58, 135);
/* oklch */ color: oklch(38.2% 0.130 269.8);
Tailwind
colors: {
  custom: {
    50: '#6f6fab',
    500: '#293a87',
    950: '#000000',
  },
}
SCSS
$custom: #293a87;
$custom-light: #6f6fab;
$custom-dark: #000000;
JSON
{
  "hex": "#293a87",
  "rgb": {
    "r": 41,
    "g": 58,
    "b": 135
  },
  "hsl": {
    "h": 229.149,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.38209,
    "c": 0.1301,
    "h": 269.8
  },
  "luminance": 0.05247
}

Semantic roles & 50–950 ramp

primary
#293A87
secondary
#B3A359
accent
#C24BDD
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #293A87

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

Preview Lab → · Contrast checker → · Palette generator →

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