#293571#293571

#293571 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.4% C 0.104 H 271.6°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#293571
RGBrgb(41, 53, 113)
HSLhsl(230, 47%, 30%)
HSVhsv(230, 64%, 44%)
CMYKcmyk(63.7%, 53.1%, 0%, 55.7%)
CIE-LABlab(24.35, 15.48, -36.32)
CIE-LCHlch(24.35, 39.48, 293.09°)
OKLaboklab(35.37% 0.0029 -0.104)
OKLCHoklch(35.37% 0.104 271.6)
XYZxyz(5.1672, 4.2095, 16.1598)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293571 #716529
analogous
#295971 #293571 #412971
triadic
#293571 #712935 #357129
tetradic
#293571 #712959 #716529 #297141
square
#293571 #712959 #716529 #297141
split-complementary
#293571 #714129 #597129
monochromatic
#080B17 #192044 #293571 #394A9E #5466C1

Accessibility & contrast

On white

11.40
#293571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#293571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293571
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293571#FFFFFF#000000##FFFFFF
##2935711.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143D73
Deuteranopia (green-blind)
#043770
Tritanopia (blue-blind)
#00434D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #293571;
/* rgb */ color: rgb(41, 53, 113);
/* oklch */ color: oklch(35.4% 0.104 271.6);
Tailwind
colors: {
  custom: {
    50: '#6a6c9a',
    500: '#293571',
    950: '#000000',
  },
}
SCSS
$custom: #293571;
$custom-light: #6a6c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#293571",
  "rgb": {
    "r": 41,
    "g": 53,
    "b": 113
  },
  "hsl": {
    "h": 230,
    "s": 46.753,
    "l": 30.196
  },
  "oklch": {
    "l": 0.3537,
    "c": 0.10402,
    "h": 271.6
  },
  "luminance": 0.0421
}

Semantic roles & 50–950 ramp

primary
#293571
secondary
#A39653
accent
#C051D6
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #293571

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

Preview Lab → · Contrast checker → · Palette generator →

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