#293C97#293C97

#293C97 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.0% C 0.150 H 269.4°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#293C97
RGBrgb(41, 60, 151)
HSLhsl(230, 57%, 38%)
HSVhsv(230, 73%, 59%)
CMYKcmyk(72.8%, 60.3%, 0%, 40.8%)
CIE-LABlab(29.25, 25.11, -52.11)
CIE-LCHlch(29.25, 57.84, 295.73°)
OKLaboklab(39.98% -0.0017 -0.1503)
OKLCHoklch(39.98% 0.15 269.4)
XYZxyz(8.1143, 5.9367, 29.9904)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293C97 #978429
analogous
#297397 #293C97 #4D2997
triadic
#293C97 #97293C #3C9729
tetradic
#293C97 #972973 #978429 #29974D
square
#293C97 #972973 #978429 #29974D
split-complementary
#293C97 #974D29 #739729
monochromatic
#0F1637 #1C2967 #293C97 #364FC7 #6579D5

Accessibility & contrast

On white

9.60
#293C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#293C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293C97
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293C97#FFFFFF#000000##FFFFFF
##293C971.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#004095
Tritanopia (blue-blind)
#005363
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #293c97;
/* rgb */ color: rgb(41, 60, 151);
/* oklch */ color: oklch(40.0% 0.150 269.4);
Tailwind
colors: {
  custom: {
    50: '#7271b6',
    500: '#293c97',
    950: '#000000',
  },
}
SCSS
$custom: #293c97;
$custom-light: #7271b6;
$custom-dark: #000000;
JSON
{
  "hex": "#293c97",
  "rgb": {
    "r": 41,
    "g": 60,
    "b": 151
  },
  "hsl": {
    "h": 229.636,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39977,
    "c": 0.15033,
    "h": 269.4
  },
  "luminance": 0.05937
}

Semantic roles & 50–950 ramp

primary
#293C97
secondary
#BBAC61
accent
#C647E1
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #293C97

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

Preview Lab → · Contrast checker → · Palette generator →

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