#293F9B#293F9B

#293F9B is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.9% C 0.152 H 268.5°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#293F9B
RGBrgb(41, 63, 155)
HSLhsl(228, 58%, 38%)
HSVhsv(228, 74%, 61%)
CMYKcmyk(73.5%, 59.4%, 0%, 39.2%)
CIE-LABlab(30.38, 24.61, -52.71)
CIE-LCHlch(30.38, 58.17, 295.03°)
OKLaboklab(40.92% -0.004 -0.152)
OKLCHoklch(40.92% 0.152 268.5)
XYZxyz(8.6063, 6.3921, 31.7842)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293F9B #9B8529
analogous
#29789B #293F9B #4C299B
triadic
#293F9B #9B293F #3F9B29
tetradic
#293F9B #9B2978 #9B8529 #299B4C
square
#293F9B #9B2978 #9B8529 #299B4C
split-complementary
#293F9B #9B4C29 #789B29
monochromatic
#0F183A #1C2B6B #293F9B #3753CA #677DD7

Accessibility & contrast

On white

9.22
#293F9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#293F9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293F9B
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293F9B#FFFFFF#000000##FFFFFF
##293F9B1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9E
Deuteranopia (green-blind)
#004299
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #293f9b;
/* rgb */ color: rgb(41, 63, 155);
/* oklch */ color: oklch(40.9% 0.152 268.5);
Tailwind
colors: {
  custom: {
    50: '#7373b9',
    500: '#293f9b',
    950: '#000000',
  },
}
SCSS
$custom: #293f9b;
$custom-light: #7373b9;
$custom-dark: #000000;
JSON
{
  "hex": "#293f9b",
  "rgb": {
    "r": 41,
    "g": 63,
    "b": 155
  },
  "hsl": {
    "h": 228.421,
    "s": 58.163,
    "l": 38.431
  },
  "oklch": {
    "l": 0.40921,
    "c": 0.15209,
    "h": 268.5
  },
  "luminance": 0.06393
}

Semantic roles & 50–950 ramp

primary
#293F9B
secondary
#BDAC63
accent
#C346E1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #293F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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