#293A99#293A99

#293A99 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.8% C 0.156 H 269.9°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#293A99
RGBrgb(41, 58, 153)
HSLhsl(231, 58%, 38%)
HSVhsv(231, 73%, 60%)
CMYKcmyk(73.2%, 62.1%, 0%, 40%)
CIE-LABlab(28.89, 27.21, -53.91)
CIE-LCHlch(28.89, 60.39, 296.78°)
OKLaboklab(39.76% -0.0001 -0.1556)
OKLCHoklch(39.76% 0.156 269.9)
XYZxyz(8.1753, 5.7966, 30.8188)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293A99 #998829
analogous
#297299 #293A99 #502999
triadic
#293A99 #99293A #3A9929
tetradic
#293A99 #992972 #998829 #299950
square
#293A99 #992972 #998829 #299950
split-complementary
#293A99 #995029 #729929
monochromatic
#0F1538 #1C2869 #293A99 #364CC9 #6677D6

Accessibility & contrast

On white

9.72
#293A99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#293A99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293A99
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293A99#FFFFFF#000000##FFFFFF
##293A991.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499C
Deuteranopia (green-blind)
#003F97
Tritanopia (blue-blind)
#005264
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #293a99;
/* rgb */ color: rgb(41, 58, 153);
/* oklch */ color: oklch(39.8% 0.156 269.9);
Tailwind
colors: {
  custom: {
    50: '#7370b8',
    500: '#293a99',
    950: '#000000',
  },
}
SCSS
$custom: #293a99;
$custom-light: #7370b8;
$custom-dark: #000000;
JSON
{
  "hex": "#293a99",
  "rgb": {
    "r": 41,
    "g": 58,
    "b": 153
  },
  "hsl": {
    "h": 230.893,
    "s": 57.732,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39763,
    "c": 0.15565,
    "h": 269.9
  },
  "luminance": 0.05797
}

Semantic roles & 50–950 ramp

primary
#293A99
secondary
#BCAE62
accent
#CA47E1
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #293A99

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

Preview Lab → · Contrast checker → · Palette generator →

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