#293790#293790

#293790 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.4% C 0.147 H 270.9°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#293790
RGBrgb(41, 55, 144)
HSLhsl(232, 56%, 36%)
HSVhsv(232, 72%, 56%)
CMYKcmyk(71.5%, 61.8%, 0%, 43.5%)
CIE-LABlab(27.34, 25.84, -50.92)
CIE-LCHlch(27.34, 57.10, 296.90°)
OKLaboklab(38.38% 0.0023 -0.1469)
OKLCHoklch(38.38% 0.147 270.9)
XYZxyz(7.3130, 5.2167, 27.0017)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293790 #908229
analogous
#296B90 #293790 #4F2990
triadic
#293790 #902937 #379029
tetradic
#293790 #90296B #908229 #29904F
square
#293790 #90296B #908229 #29904F
split-complementary
#293790 #904F29 #6B9029
monochromatic
#0E1331 #1B2560 #293790 #3749C0 #6171D2

Accessibility & contrast

On white

10.28
#293790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#293790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293790
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293790#FFFFFF#000000##FFFFFF
##2937901.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004593
Deuteranopia (green-blind)
#003C8E
Tritanopia (blue-blind)
#004D5E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #293790;
/* rgb */ color: rgb(41, 55, 144);
/* oklch */ color: oklch(38.4% 0.147 270.9);
Tailwind
colors: {
  custom: {
    50: '#716db1',
    500: '#293790',
    950: '#000000',
  },
}
SCSS
$custom: #293790;
$custom-light: #716db1;
$custom-dark: #000000;
JSON
{
  "hex": "#293790",
  "rgb": {
    "r": 41,
    "g": 55,
    "b": 144
  },
  "hsl": {
    "h": 231.845,
    "s": 55.676,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38377,
    "c": 0.14692,
    "h": 270.9
  },
  "luminance": 0.05217
}

Semantic roles & 50–950 ramp

primary
#293790
secondary
#B8AB5D
accent
#CB49DF
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #293790

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

Preview Lab → · Contrast checker → · Palette generator →

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