#293394#293394

#293394 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.0% C 0.157 H 271.9°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#293394
RGBrgb(41, 51, 148)
HSLhsl(234, 57%, 37%)
HSVhsv(234, 72%, 58%)
CMYKcmyk(72.3%, 65.5%, 0%, 42%)
CIE-LABlab(26.67, 29.99, -54.49)
CIE-LCHlch(26.67, 62.20, 298.83°)
OKLaboklab(37.99% 0.0052 -0.1574)
OKLCHoklch(37.99% 0.157 271.9)
XYZxyz(7.4418, 4.9765, 28.5796)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293394 #948A29
analogous
#296894 #293394 #552994
triadic
#293394 #942933 #339429
tetradic
#293394 #942968 #948A29 #299455
square
#293394 #942968 #948A29 #299455
split-complementary
#293394 #945529 #689429
monochromatic
#0E1234 #1C2264 #293394 #3644C4 #636ED4

Accessibility & contrast

On white

10.52
#293394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#293394 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293394
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293394#FFFFFF#000000##FFFFFF
##2933941.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004497
Deuteranopia (green-blind)
#003A92
Tritanopia (blue-blind)
#004C5E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #293394;
/* rgb */ color: rgb(41, 51, 148);
/* oklch */ color: oklch(38.0% 0.157 271.9);
Tailwind
colors: {
  custom: {
    50: '#726ab4',
    500: '#293394',
    950: '#000000',
  },
}
SCSS
$custom: #293394;
$custom-light: #726ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#293394",
  "rgb": {
    "r": 41,
    "g": 51,
    "b": 148
  },
  "hsl": {
    "h": 234.393,
    "s": 56.614,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37988,
    "c": 0.15749,
    "h": 271.9
  },
  "luminance": 0.04977
}

Semantic roles & 50–950 ramp

primary
#293394
secondary
#BAB15F
accent
#D248E0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #293394

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

Preview Lab → · Contrast checker → · Palette generator →

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