#293987#293987

#293987 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.0% C 0.131 H 270.2°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#293987
RGBrgb(41, 57, 135)
HSLhsl(230, 53%, 35%)
HSVhsv(230, 70%, 53%)
CMYKcmyk(69.6%, 57.8%, 0%, 47.1%)
CIE-LABlab(27.15, 21.07, -45.67)
CIE-LCHlch(27.15, 50.29, 294.77°)
OKLaboklab(38% 0.0005 -0.1314)
OKLCHoklch(38% 0.131 270.2)
XYZxyz(6.7493, 5.1463, 23.5546)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293987 #877729
analogous
#296887 #293987 #482987
triadic
#293987 #872939 #398729
tetradic
#293987 #872968 #877729 #298748
square
#293987 #872968 #877729 #298748
split-complementary
#293987 #874829 #688729
monochromatic
#0C1129 #1B2558 #293987 #374DB6 #5D70CE

Accessibility & contrast

On white

10.35
#293987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#293987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293987
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293987#FFFFFF#000000##FFFFFF
##2939871.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458A
Deuteranopia (green-blind)
#003C85
Tritanopia (blue-blind)
#004C5A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #293987;
/* rgb */ color: rgb(41, 57, 135);
/* oklch */ color: oklch(38.0% 0.131 270.2);
Tailwind
colors: {
  custom: {
    50: '#6f6fab',
    500: '#293987',
    950: '#000000',
  },
}
SCSS
$custom: #293987;
$custom-light: #6f6fab;
$custom-dark: #000000;
JSON
{
  "hex": "#293987",
  "rgb": {
    "r": 41,
    "g": 57,
    "b": 135
  },
  "hsl": {
    "h": 229.787,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.38001,
    "c": 0.13144,
    "h": 270.2
  },
  "luminance": 0.05147
}

Semantic roles & 50–950 ramp

primary
#293987
secondary
#B3A459
accent
#C44BDD
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #293987

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

Preview Lab → · Contrast checker → · Palette generator →

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