#293994#293994

#293994 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.1% C 0.150 H 270.3°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#293994
RGBrgb(41, 57, 148)
HSLhsl(231, 57%, 37%)
HSVhsv(231, 72%, 58%)
CMYKcmyk(72.3%, 61.5%, 0%, 42%)
CIE-LABlab(28.21, 26.00, -51.97)
CIE-LCHlch(28.21, 58.11, 296.57°)
OKLaboklab(39.12% 0.0007 -0.15)
OKLCHoklch(39.12% 0.15 270.3)
XYZxyz(7.7211, 5.5350, 28.6727)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293994 #948429
analogous
#296F94 #293994 #4F2994
triadic
#293994 #942939 #399429
tetradic
#293994 #94296F #948429 #29944F
square
#293994 #94296F #948429 #29944F
split-complementary
#293994 #944F29 #6F9429
monochromatic
#0E1434 #1C2764 #293994 #364BC4 #6374D4

Accessibility & contrast

On white

9.97
#293994 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#293994 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293994
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293994#FFFFFF#000000##FFFFFF
##2939941.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004897
Deuteranopia (green-blind)
#003E92
Tritanopia (blue-blind)
#005061
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #293994;
/* rgb */ color: rgb(41, 57, 148);
/* oklch */ color: oklch(39.1% 0.150 270.3);
Tailwind
colors: {
  custom: {
    50: '#726fb4',
    500: '#293994',
    950: '#000000',
  },
}
SCSS
$custom: #293994;
$custom-light: #726fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#293994",
  "rgb": {
    "r": 41,
    "g": 57,
    "b": 148
  },
  "hsl": {
    "h": 231.028,
    "s": 56.614,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39123,
    "c": 0.14996,
    "h": 270.3
  },
  "luminance": 0.05536
}

Semantic roles & 50–950 ramp

primary
#293994
secondary
#BAAC5F
accent
#C948E0
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #293994

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

Preview Lab → · Contrast checker → · Palette generator →

#293994 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva