#293C87#293C87

#293C87 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.6% C 0.127 H 269.0°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#293C87
RGBrgb(41, 60, 135)
HSLhsl(228, 53%, 35%)
HSVhsv(228, 70%, 53%)
CMYKcmyk(69.6%, 55.6%, 0%, 47.1%)
CIE-LABlab(27.98, 19.01, -44.31)
CIE-LCHlch(27.98, 48.22, 293.22°)
OKLaboklab(38.63% -0.0023 -0.1274)
OKLCHoklch(38.63% 0.127 269)
XYZxyz(6.9020, 5.4517, 23.6055)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293C87 #877429
analogous
#296B87 #293C87 #452987
triadic
#293C87 #87293C #3C8729
tetradic
#293C87 #87296B #877429 #298745
square
#293C87 #87296B #877429 #298745
split-complementary
#293C87 #874529 #6B8729
monochromatic
#0C1229 #1B2758 #293C87 #3751B6 #5D74CE

Accessibility & contrast

On white

10.05
#293C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#293C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293C87
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293C87#FFFFFF#000000##FFFFFF
##293C871.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04468A
Deuteranopia (green-blind)
#003E85
Tritanopia (blue-blind)
#004E5B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #293c87;
/* rgb */ color: rgb(41, 60, 135);
/* oklch */ color: oklch(38.6% 0.127 269.0);
Tailwind
colors: {
  custom: {
    50: '#6f71ab',
    500: '#293c87',
    950: '#000000',
  },
}
SCSS
$custom: #293c87;
$custom-light: #6f71ab;
$custom-dark: #000000;
JSON
{
  "hex": "#293c87",
  "rgb": {
    "r": 41,
    "g": 60,
    "b": 135
  },
  "hsl": {
    "h": 227.872,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.3863,
    "c": 0.12742,
    "h": 269
  },
  "luminance": 0.05452
}

Semantic roles & 50–950 ramp

primary
#293C87
secondary
#B3A159
accent
#BF4BDD
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #293C87

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

Preview Lab → · Contrast checker → · Palette generator →

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