#293F8D#293F8D

#293F8D is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.8% C 0.132 H 268.0°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#293F8D
RGBrgb(41, 63, 141)
HSLhsl(227, 55%, 36%)
HSVhsv(227, 71%, 55%)
CMYKcmyk(70.9%, 55.3%, 0%, 44.7%)
CIE-LABlab(29.28, 19.25, -45.92)
CIE-LCHlch(29.28, 49.80, 292.75°)
OKLaboklab(39.75% -0.0046 -0.1321)
OKLCHoklch(39.75% 0.132 268)
XYZxyz(7.4980, 5.9488, 25.9472)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293F8D #8D7729
analogous
#29718D #293F8D #45298D
triadic
#293F8D #8D293F #3F8D29
tetradic
#293F8D #8D2971 #8D7729 #298D45
square
#293F8D #8D2971 #8D7729 #298D45
split-complementary
#293F8D #8D4529 #718D29
monochromatic
#0D152E #1B2A5E #293F8D #3754BC #6079D1

Accessibility & contrast

On white

9.59
#293F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #293F8D
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293F8D#FFFFFF#000000##FFFFFF
##293F8D1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044A90
Deuteranopia (green-blind)
#00418B
Tritanopia (blue-blind)
#00525F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #293f8d;
/* rgb */ color: rgb(41, 63, 141);
/* oklch */ color: oklch(39.8% 0.132 268.0);
Tailwind
colors: {
  custom: {
    50: '#7073af',
    500: '#293f8d',
    950: '#000000',
  },
}
SCSS
$custom: #293f8d;
$custom-light: #7073af;
$custom-dark: #000000;
JSON
{
  "hex": "#293f8d",
  "rgb": {
    "r": 41,
    "g": 63,
    "b": 141
  },
  "hsl": {
    "h": 226.8,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39751,
    "c": 0.13217,
    "h": 268
  },
  "luminance": 0.0595
}

Semantic roles & 50–950 ramp

primary
#293F8D
secondary
#B6A25B
accent
#BE4ADE
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #293F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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