#293894#293894

#293894 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.9% C 0.151 H 270.5°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#293894
RGBrgb(41, 56, 148)
HSLhsl(232, 57%, 37%)
HSVhsv(232, 72%, 58%)
CMYKcmyk(72.3%, 62.2%, 0%, 42%)
CIE-LABlab(27.95, 26.67, -52.40)
CIE-LCHlch(27.95, 58.80, 296.97°)
OKLaboklab(38.93% 0.0014 -0.1512)
OKLCHoklch(38.93% 0.151 270.5)
XYZxyz(7.6721, 5.4371, 28.6564)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293894 #948529
analogous
#296E94 #293894 #502994
triadic
#293894 #942938 #389429
tetradic
#293894 #94296E #948529 #299450
square
#293894 #94296E #948529 #299450
split-complementary
#293894 #945029 #6E9429
monochromatic
#0E1434 #1C2664 #293894 #364AC4 #6373D4

Accessibility & contrast

On white

10.06
#293894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#293894 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293894
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293894#FFFFFF#000000##FFFFFF
##2938941.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004797
Deuteranopia (green-blind)
#003D92
Tritanopia (blue-blind)
#004F60
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #293894;
/* rgb */ color: rgb(41, 56, 148);
/* oklch */ color: oklch(38.9% 0.151 270.5);
Tailwind
colors: {
  custom: {
    50: '#726eb4',
    500: '#293894',
    950: '#000000',
  },
}
SCSS
$custom: #293894;
$custom-light: #726eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#293894",
  "rgb": {
    "r": 41,
    "g": 56,
    "b": 148
  },
  "hsl": {
    "h": 231.589,
    "s": 56.614,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38929,
    "c": 0.15124,
    "h": 270.5
  },
  "luminance": 0.05438
}

Semantic roles & 50–950 ramp

primary
#293894
secondary
#BAAD5F
accent
#CB48E0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #293894

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

Preview Lab → · Contrast checker → · Palette generator →

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