#293F97#293F97

#293F97 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.6% C 0.146 H 268.4°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#293F97
RGBrgb(41, 63, 151)
HSLhsl(228, 57%, 38%)
HSVhsv(228, 73%, 59%)
CMYKcmyk(72.8%, 58.3%, 0%, 40.8%)
CIE-LABlab(30.06, 23.08, -50.79)
CIE-LCHlch(30.06, 55.79, 294.44°)
OKLaboklab(40.58% -0.0041 -0.1464)
OKLCHoklch(40.58% 0.146 268.4)
XYZxyz(8.2759, 6.2599, 30.0443)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293F97 #978129
analogous
#297697 #293F97 #4A2997
triadic
#293F97 #97293F #3F9729
tetradic
#293F97 #972976 #978129 #29974A
square
#293F97 #972976 #978129 #29974A
split-complementary
#293F97 #974A29 #769729
monochromatic
#0F1737 #1C2B67 #293F97 #3653C7 #657CD5

Accessibility & contrast

On white

9.32
#293F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#293F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293F97
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293F97#FFFFFF#000000##FFFFFF
##293F971.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#004295
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #293f97;
/* rgb */ color: rgb(41, 63, 151);
/* oklch */ color: oklch(40.6% 0.146 268.4);
Tailwind
colors: {
  custom: {
    50: '#7273b6',
    500: '#293f97',
    950: '#000000',
  },
}
SCSS
$custom: #293f97;
$custom-light: #7273b6;
$custom-dark: #000000;
JSON
{
  "hex": "#293f97",
  "rgb": {
    "r": 41,
    "g": 63,
    "b": 151
  },
  "hsl": {
    "h": 228,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40579,
    "c": 0.14648,
    "h": 268.4
  },
  "luminance": 0.06261
}

Semantic roles & 50–950 ramp

primary
#293F97
secondary
#BBA961
accent
#C247E1
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #293F97

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

Preview Lab → · Contrast checker → · Palette generator →

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