#293E8A#293E8A

#293E8A is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.3% C 0.129 H 268.3°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#293E8A
RGBrgb(41, 62, 138)
HSLhsl(227, 54%, 35%)
HSVhsv(227, 70%, 54%)
CMYKcmyk(70.3%, 55.1%, 0%, 45.9%)
CIE-LABlab(28.78, 18.79, -44.89)
CIE-LCHlch(28.78, 48.66, 292.71°)
OKLaboklab(39.3% -0.0039 -0.1291)
OKLCHoklch(39.3% 0.129 268.3)
XYZxyz(7.2229, 5.7509, 24.7692)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293E8A #8A7529
analogous
#296F8A #293E8A #44298A
triadic
#293E8A #8A293E #3E8A29
tetradic
#293E8A #8A296F #8A7529 #298A44
square
#293E8A #8A296F #8A7529 #298A44
split-complementary
#293E8A #8A4429 #6F8A29
monochromatic
#0D142C #1B295B #293E8A #3753B9 #5E77CF

Accessibility & contrast

On white

9.77
#293E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#293E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293E8A
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293E8A#FFFFFF#000000##FFFFFF
##293E8A1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07488D
Deuteranopia (green-blind)
#004088
Tritanopia (blue-blind)
#00505D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #293e8a;
/* rgb */ color: rgb(41, 62, 138);
/* oklch */ color: oklch(39.3% 0.129 268.3);
Tailwind
colors: {
  custom: {
    50: '#6f72ad',
    500: '#293e8a',
    950: '#000000',
  },
}
SCSS
$custom: #293e8a;
$custom-light: #6f72ad;
$custom-dark: #000000;
JSON
{
  "hex": "#293e8a",
  "rgb": {
    "r": 41,
    "g": 62,
    "b": 138
  },
  "hsl": {
    "h": 227.01,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39297,
    "c": 0.12914,
    "h": 268.3
  },
  "luminance": 0.05752
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #293E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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