#293794#293794

#293794 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.7% C 0.153 H 270.8°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#293794
RGBrgb(41, 55, 148)
HSLhsl(232, 57%, 37%)
HSVhsv(232, 72%, 58%)
CMYKcmyk(72.3%, 62.8%, 0%, 42%)
CIE-LABlab(27.69, 27.34, -52.83)
CIE-LCHlch(27.69, 59.48, 297.36°)
OKLaboklab(38.74% 0.0022 -0.1525)
OKLCHoklch(38.74% 0.153 270.8)
XYZxyz(7.6241, 5.3412, 28.6404)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293794 #948629
analogous
#296C94 #293794 #512994
triadic
#293794 #942937 #379429
tetradic
#293794 #94296C #948629 #299451
square
#293794 #94296C #948629 #299451
split-complementary
#293794 #945129 #6C9429
monochromatic
#0E1334 #1C2564 #293794 #3649C4 #6372D4

Accessibility & contrast

On white

10.15
#293794 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#293794 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293794
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293794#FFFFFF#000000##FFFFFF
##2937941.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #293794;
/* rgb */ color: rgb(41, 55, 148);
/* oklch */ color: oklch(38.7% 0.153 270.8);
Tailwind
colors: {
  custom: {
    50: '#726db4',
    500: '#293794',
    950: '#000000',
  },
}
SCSS
$custom: #293794;
$custom-light: #726db4;
$custom-dark: #000000;
JSON
{
  "hex": "#293794",
  "rgb": {
    "r": 41,
    "g": 55,
    "b": 148
  },
  "hsl": {
    "h": 232.15,
    "s": 56.614,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38737,
    "c": 0.15251,
    "h": 270.8
  },
  "luminance": 0.05342
}

Semantic roles & 50–950 ramp

primary
#293794
secondary
#BAAE5F
accent
#CC48E0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #293794

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

Preview Lab → · Contrast checker → · Palette generator →

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