#293193#293193

#293193 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.5% C 0.159 H 272.4°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#293193
RGBrgb(41, 49, 147)
HSLhsl(235, 56%, 37%)
HSVhsv(235, 72%, 58%)
CMYKcmyk(72.1%, 66.7%, 0%, 42.4%)
CIE-LABlab(26.08, 30.93, -54.84)
CIE-LCHlch(26.08, 62.96, 299.43°)
OKLaboklab(37.53% 0.0067 -0.1584)
OKLCHoklch(37.53% 0.159 272.4)
XYZxyz(7.2775, 4.7739, 28.1360)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293193 #938B29
analogous
#296693 #293193 #562993
triadic
#293193 #932931 #319329
tetradic
#293193 #932966 #938B29 #299356
square
#293193 #932966 #938B29 #299356
split-complementary
#293193 #935629 #669329
monochromatic
#0E1133 #1C2163 #293193 #3641C3 #636BD3

Accessibility & contrast

On white

10.74
#293193 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#293193 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293193
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293193#FFFFFF#000000##FFFFFF
##2931931.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004396
Deuteranopia (green-blind)
#003991
Tritanopia (blue-blind)
#004B5D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #293193;
/* rgb */ color: rgb(41, 49, 147);
/* oklch */ color: oklch(37.5% 0.159 272.4);
Tailwind
colors: {
  custom: {
    50: '#7269b4',
    500: '#293193',
    950: '#000000',
  },
}
SCSS
$custom: #293193;
$custom-light: #7269b4;
$custom-dark: #000000;
JSON
{
  "hex": "#293193",
  "rgb": {
    "r": 41,
    "g": 49,
    "b": 147
  },
  "hsl": {
    "h": 235.472,
    "s": 56.383,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37531,
    "c": 0.15857,
    "h": 272.4
  },
  "luminance": 0.04775
}

Semantic roles & 50–950 ramp

primary
#293193
secondary
#B9B25E
accent
#D448E0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #293193

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

Preview Lab → · Contrast checker → · Palette generator →

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