#293F8A#293F8A

#293F8A is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.5% C 0.128 H 267.8°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#293F8A
RGBrgb(41, 63, 138)
HSLhsl(226, 54%, 35%)
HSVhsv(226, 70%, 54%)
CMYKcmyk(70.3%, 54.3%, 0%, 45.9%)
CIE-LABlab(29.06, 18.10, -44.43)
CIE-LCHlch(29.06, 47.98, 292.17°)
OKLaboklab(39.51% -0.0049 -0.1277)
OKLCHoklch(39.51% 0.128 267.8)
XYZxyz(7.2778, 5.8607, 24.7875)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293F8A #8A7429
analogous
#296F8A #293F8A #44298A
triadic
#293F8A #8A293F #3F8A29
tetradic
#293F8A #8A296F #8A7429 #298A44
square
#293F8A #8A296F #8A7429 #298A44
split-complementary
#293F8A #8A4429 #6F8A29
monochromatic
#0D142C #1B295B #293F8A #3755B9 #5E78CF

Accessibility & contrast

On white

9.67
#293F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#293F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293F8A
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293F8A#FFFFFF#000000##FFFFFF
##293F8A1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C498D
Deuteranopia (green-blind)
#004088
Tritanopia (blue-blind)
#00515E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #293f8a;
/* rgb */ color: rgb(41, 63, 138);
/* oklch */ color: oklch(39.5% 0.128 267.8);
Tailwind
colors: {
  custom: {
    50: '#6f73ad',
    500: '#293f8a',
    950: '#000000',
  },
}
SCSS
$custom: #293f8a;
$custom-light: #6f73ad;
$custom-dark: #000000;
JSON
{
  "hex": "#293f8a",
  "rgb": {
    "r": 41,
    "g": 63,
    "b": 138
  },
  "hsl": {
    "h": 226.392,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39511,
    "c": 0.12781,
    "h": 267.8
  },
  "luminance": 0.05861
}

Semantic roles & 50–950 ramp

primary
#293F8A
secondary
#B5A05A
accent
#BC4ADE
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #293F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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