#293199#293199

#293199 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.1% C 0.167 H 272.1°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#293199
RGBrgb(41, 49, 153)
HSLhsl(236, 58%, 38%)
HSVhsv(236, 73%, 60%)
CMYKcmyk(73.2%, 68%, 0%, 40%)
CIE-LABlab(26.64, 33.12, -57.60)
CIE-LCHlch(26.64, 66.44, 299.90°)
OKLaboklab(38.11% 0.0062 -0.1665)
OKLCHoklch(38.11% 0.167 272.1)
XYZxyz(7.7606, 4.9672, 30.6806)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293199 #999129
analogous
#296999 #293199 #592999
triadic
#293199 #992931 #319929
tetradic
#293199 #992969 #999129 #299959
square
#293199 #992969 #999129 #299959
split-complementary
#293199 #995929 #699929
monochromatic
#0F1238 #1C2269 #293199 #3641C9 #666ED6

Accessibility & contrast

On white

10.53
#293199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#293199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293199
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293199#FFFFFF#000000##FFFFFF
##2931991.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449C
Deuteranopia (green-blind)
#003A97
Tritanopia (blue-blind)
#004D60
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #293199;
/* rgb */ color: rgb(41, 49, 153);
/* oklch */ color: oklch(38.1% 0.167 272.1);
Tailwind
colors: {
  custom: {
    50: '#7469b8',
    500: '#293199',
    950: '#000000',
  },
}
SCSS
$custom: #293199;
$custom-light: #7469b8;
$custom-dark: #000000;
JSON
{
  "hex": "#293199",
  "rgb": {
    "r": 41,
    "g": 49,
    "b": 153
  },
  "hsl": {
    "h": 235.714,
    "s": 57.732,
    "l": 38.039
  },
  "oklch": {
    "l": 0.3811,
    "c": 0.16663,
    "h": 272.1
  },
  "luminance": 0.04968
}

Semantic roles & 50–950 ramp

primary
#293199
secondary
#BCB662
accent
#D647E1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #293199

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

Preview Lab → · Contrast checker → · Palette generator →

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