#293188#293188

#293188 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.5% C 0.143 H 272.9°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#293188
RGBrgb(41, 49, 136)
HSLhsl(235, 54%, 35%)
HSVhsv(235, 70%, 53%)
CMYKcmyk(69.9%, 64%, 0%, 46.7%)
CIE-LABlab(25.09, 26.88, -49.64)
CIE-LCHlch(25.09, 56.45, 298.44°)
OKLaboklab(36.5% 0.0074 -0.1432)
OKLCHoklch(36.5% 0.143 272.9)
XYZxyz(6.4552, 4.4450, 23.8056)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293188 #888029
analogous
#296188 #293188 #502988
triadic
#293188 #882931 #318829
tetradic
#293188 #882961 #888029 #298850
square
#293188 #882961 #888029 #298850
split-complementary
#293188 #885029 #618829
monochromatic
#0D0F2A #1B2059 #293188 #3742B7 #5D67CE

Accessibility & contrast

On white

11.12
#293188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#293188 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293188
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293188#FFFFFF#000000##FFFFFF
##2931881.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408B
Deuteranopia (green-blind)
#003786
Tritanopia (blue-blind)
#004757
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #293188;
/* rgb */ color: rgb(41, 49, 136);
/* oklch */ color: oklch(36.5% 0.143 272.9);
Tailwind
colors: {
  custom: {
    50: '#7069ab',
    500: '#293188',
    950: '#000000',
  },
}
SCSS
$custom: #293188;
$custom-light: #7069ab;
$custom-dark: #000000;
JSON
{
  "hex": "#293188",
  "rgb": {
    "r": 41,
    "g": 49,
    "b": 136
  },
  "hsl": {
    "h": 234.947,
    "s": 53.672,
    "l": 34.706
  },
  "oklch": {
    "l": 0.365,
    "c": 0.14338,
    "h": 272.9
  },
  "luminance": 0.04446
}

Semantic roles & 50–950 ramp

primary
#293188
secondary
#B4AC59
accent
#D14BDD
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #293188

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

Preview Lab → · Contrast checker → · Palette generator →

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