#293F8B#293F8B

#293F8B is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.6% C 0.129 H 267.9°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#293F8B
RGBrgb(41, 63, 139)
HSLhsl(227, 54%, 35%)
HSVhsv(227, 71%, 55%)
CMYKcmyk(70.5%, 54.7%, 0%, 45.5%)
CIE-LABlab(29.13, 18.49, -44.93)
CIE-LCHlch(29.13, 48.59, 292.37°)
OKLaboklab(39.59% -0.0048 -0.1292)
OKLCHoklch(39.59% 0.129 267.9)
XYZxyz(7.3506, 5.8898, 25.1706)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293F8B #8B7529
analogous
#29708B #293F8B #44298B
triadic
#293F8B #8B293F #3F8B29
tetradic
#293F8B #8B2970 #8B7529 #298B44
square
#293F8B #8B2970 #8B7529 #298B44
split-complementary
#293F8B #8B4429 #708B29
monochromatic
#0D142C #1B2A5C #293F8B #3754BA #5F78D0

Accessibility & contrast

On white

9.64
#293F8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#293F8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293F8B
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293F8B#FFFFFF#000000##FFFFFF
##293F8B1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09498E
Deuteranopia (green-blind)
#004089
Tritanopia (blue-blind)
#00515E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #293f8b;
/* rgb */ color: rgb(41, 63, 139);
/* oklch */ color: oklch(39.6% 0.129 267.9);
Tailwind
colors: {
  custom: {
    50: '#6f73ad',
    500: '#293f8b',
    950: '#000000',
  },
}
SCSS
$custom: #293f8b;
$custom-light: #6f73ad;
$custom-dark: #000000;
JSON
{
  "hex": "#293f8b",
  "rgb": {
    "r": 41,
    "g": 63,
    "b": 139
  },
  "hsl": {
    "h": 226.531,
    "s": 54.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39591,
    "c": 0.12927,
    "h": 267.9
  },
  "luminance": 0.05891
}

Semantic roles & 50–950 ramp

primary
#293F8B
secondary
#B5A15B
accent
#BD4ADE
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #293F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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