#293E97#293E97

#293E97 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.4% C 0.148 H 268.7°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#293E97
RGBrgb(41, 62, 151)
HSLhsl(229, 57%, 38%)
HSVhsv(229, 73%, 59%)
CMYKcmyk(72.8%, 58.9%, 0%, 40.8%)
CIE-LABlab(29.79, 23.76, -51.23)
CIE-LCHlch(29.79, 56.48, 294.88°)
OKLaboklab(40.38% -0.0033 -0.1477)
OKLCHoklch(40.38% 0.148 268.7)
XYZxyz(8.2211, 6.1502, 30.0260)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293E97 #978229
analogous
#297597 #293E97 #4B2997
triadic
#293E97 #97293E #3E9729
tetradic
#293E97 #972975 #978229 #29974B
square
#293E97 #972975 #978229 #29974B
split-complementary
#293E97 #974B29 #759729
monochromatic
#0F1637 #1C2A67 #293E97 #3652C7 #657BD5

Accessibility & contrast

On white

9.42
#293E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#293E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293E97
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293E97#FFFFFF#000000##FFFFFF
##293E971.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#004195
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #293e97;
/* rgb */ color: rgb(41, 62, 151);
/* oklch */ color: oklch(40.4% 0.148 268.7);
Tailwind
colors: {
  custom: {
    50: '#7273b6',
    500: '#293e97',
    950: '#000000',
  },
}
SCSS
$custom: #293e97;
$custom-light: #7273b6;
$custom-dark: #000000;
JSON
{
  "hex": "#293e97",
  "rgb": {
    "r": 41,
    "g": 62,
    "b": 151
  },
  "hsl": {
    "h": 228.545,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40377,
    "c": 0.14777,
    "h": 268.7
  },
  "luminance": 0.06151
}

Semantic roles & 50–950 ramp

primary
#293E97
secondary
#BBAA61
accent
#C347E1
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #293E97

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

Preview Lab → · Contrast checker → · Palette generator →

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