#293F9A#293F9A

#293F9A is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.8% C 0.151 H 268.5°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#293F9A
RGBrgb(41, 63, 154)
HSLhsl(228, 58%, 38%)
HSVhsv(228, 73%, 60%)
CMYKcmyk(73.4%, 59.1%, 0%, 39.6%)
CIE-LABlab(30.30, 24.23, -52.23)
CIE-LCHlch(30.30, 57.57, 294.88°)
OKLaboklab(40.84% -0.004 -0.1506)
OKLCHoklch(40.84% 0.151 268.5)
XYZxyz(8.5227, 6.3586, 31.3438)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293F9A #9A8429
analogous
#29779A #293F9A #4C299A
triadic
#293F9A #9A293F #3F9A29
tetradic
#293F9A #9A2977 #9A8429 #299A4C
square
#293F9A #9A2977 #9A8429 #299A4C
split-complementary
#293F9A #9A4C29 #779A29
monochromatic
#0F1739 #1C2B6A #293F9A #3753CA #677DD7

Accessibility & contrast

On white

9.24
#293F9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#293F9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293F9A
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293F9A#FFFFFF#000000##FFFFFF
##293F9A1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9D
Deuteranopia (green-blind)
#004298
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #293f9a;
/* rgb */ color: rgb(41, 63, 154);
/* oklch */ color: oklch(40.8% 0.151 268.5);
Tailwind
colors: {
  custom: {
    50: '#7373b9',
    500: '#293f9a',
    950: '#000000',
  },
}
SCSS
$custom: #293f9a;
$custom-light: #7373b9;
$custom-dark: #000000;
JSON
{
  "hex": "#293f9a",
  "rgb": {
    "r": 41,
    "g": 63,
    "b": 154
  },
  "hsl": {
    "h": 228.319,
    "s": 57.949,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40835,
    "c": 0.15069,
    "h": 268.5
  },
  "luminance": 0.0636
}

Semantic roles & 50–950 ramp

primary
#293F9A
secondary
#BDAB62
accent
#C347E1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #293F9A

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

Preview Lab → · Contrast checker → · Palette generator →

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