#293D99#293D99

#293D99 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.4% C 0.152 H 269.1°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#293D99
RGBrgb(41, 61, 153)
HSLhsl(229, 58%, 38%)
HSVhsv(229, 73%, 60%)
CMYKcmyk(73.2%, 60.1%, 0%, 40%)
CIE-LABlab(29.68, 25.19, -52.62)
CIE-LCHlch(29.68, 58.34, 295.58°)
OKLaboklab(40.35% -0.0024 -0.1518)
OKLCHoklch(40.35% 0.152 269.1)
XYZxyz(8.3310, 6.1080, 30.8707)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293D99 #998529
analogous
#297599 #293D99 #4D2999
triadic
#293D99 #99293D #3D9929
tetradic
#293D99 #992975 #998529 #29994D
square
#293D99 #992975 #998529 #29994D
split-complementary
#293D99 #994D29 #759929
monochromatic
#0F1738 #1C2A69 #293D99 #3650C9 #667AD6

Accessibility & contrast

On white

9.45
#293D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#293D99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293D99
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293D99#FFFFFF#000000##FFFFFF
##293D991.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9C
Deuteranopia (green-blind)
#004197
Tritanopia (blue-blind)
#005465
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #293d99;
/* rgb */ color: rgb(41, 61, 153);
/* oklch */ color: oklch(40.4% 0.152 269.1);
Tailwind
colors: {
  custom: {
    50: '#7372b8',
    500: '#293d99',
    950: '#000000',
  },
}
SCSS
$custom: #293d99;
$custom-light: #7372b8;
$custom-dark: #000000;
JSON
{
  "hex": "#293d99",
  "rgb": {
    "r": 41,
    "g": 61,
    "b": 153
  },
  "hsl": {
    "h": 229.286,
    "s": 57.732,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4035,
    "c": 0.15185,
    "h": 269.1
  },
  "luminance": 0.06109
}

Semantic roles & 50–950 ramp

primary
#293D99
secondary
#BCAC62
accent
#C547E1
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #293D99

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

Preview Lab → · Contrast checker → · Palette generator →

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