#293E8B#293E8B

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

Color values

HEX#293E8B
RGBrgb(41, 62, 139)
HSLhsl(227, 54%, 35%)
HSVhsv(227, 71%, 55%)
CMYKcmyk(70.5%, 55.4%, 0%, 45.5%)
CIE-LABlab(28.85, 19.17, -45.39)
CIE-LCHlch(28.85, 49.27, 292.90°)
OKLaboklab(39.38% -0.0039 -0.1305)
OKLCHoklch(39.38% 0.131 268.3)
XYZxyz(7.2957, 5.7800, 25.1523)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293E8B #8B7629
analogous
#296F8B #293E8B #45298B
triadic
#293E8B #8B293E #3E8B29
tetradic
#293E8B #8B296F #8B7629 #298B45
square
#293E8B #8B296F #8B7629 #298B45
split-complementary
#293E8B #8B4529 #6F8B29
monochromatic
#0D142C #1B295C #293E8B #3753BA #5F77D0

Accessibility & contrast

On white

9.74
#293E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #293E8B
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293E8B#FFFFFF#000000##FFFFFF
##293E8B1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04498E
Deuteranopia (green-blind)
#004089
Tritanopia (blue-blind)
#00505E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #293e8b;
/* rgb */ color: rgb(41, 62, 139);
/* oklch */ color: oklch(39.4% 0.131 268.3);
Tailwind
colors: {
  custom: {
    50: '#7072ad',
    500: '#293e8b',
    950: '#000000',
  },
}
SCSS
$custom: #293e8b;
$custom-light: #7072ad;
$custom-dark: #000000;
JSON
{
  "hex": "#293e8b",
  "rgb": {
    "r": 41,
    "g": 62,
    "b": 139
  },
  "hsl": {
    "h": 227.143,
    "s": 54.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39378,
    "c": 0.1306,
    "h": 268.3
  },
  "luminance": 0.05781
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #293E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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