#293F94#293F94

#293F94 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.3% C 0.142 H 268.3°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#293F94
RGBrgb(41, 63, 148)
HSLhsl(228, 57%, 37%)
HSVhsv(228, 72%, 58%)
CMYKcmyk(72.3%, 57.4%, 0%, 42%)
CIE-LABlab(29.82, 21.94, -49.35)
CIE-LCHlch(29.82, 54.00, 293.97°)
OKLaboklab(40.33% -0.0042 -0.1422)
OKLCHoklch(40.33% 0.142 268.3)
XYZxyz(8.0354, 6.1637, 28.7775)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293F94 #947E29
analogous
#297494 #293F94 #492994
triadic
#293F94 #94293F #3F9429
tetradic
#293F94 #942974 #947E29 #299449
square
#293F94 #942974 #947E29 #299449
split-complementary
#293F94 #944929 #749429
monochromatic
#0E1634 #1C2B64 #293F94 #3653C4 #637BD4

Accessibility & contrast

On white

9.40
#293F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#293F94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293F94
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293F94#FFFFFF#000000##FFFFFF
##293F941.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B97
Deuteranopia (green-blind)
#004292
Tritanopia (blue-blind)
#005463
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #293f94;
/* rgb */ color: rgb(41, 63, 148);
/* oklch */ color: oklch(40.3% 0.142 268.3);
Tailwind
colors: {
  custom: {
    50: '#7273b4',
    500: '#293f94',
    950: '#000000',
  },
}
SCSS
$custom: #293f94;
$custom-light: #7273b4;
$custom-dark: #000000;
JSON
{
  "hex": "#293f94",
  "rgb": {
    "r": 41,
    "g": 63,
    "b": 148
  },
  "hsl": {
    "h": 227.664,
    "s": 56.614,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40327,
    "c": 0.14223,
    "h": 268.3
  },
  "luminance": 0.06165
}

Semantic roles & 50–950 ramp

primary
#293F94
secondary
#BAA75F
accent
#C148E0
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #293F94

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

Preview Lab → · Contrast checker → · Palette generator →

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