#293271#293271

#293271 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.7% C 0.108 H 273.3°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#293271
RGBrgb(41, 50, 113)
HSLhsl(233, 47%, 30%)
HSVhsv(233, 64%, 44%)
CMYKcmyk(63.7%, 55.8%, 0%, 55.7%)
CIE-LABlab(23.49, 17.58, -37.71)
CIE-LCHlch(23.49, 41.61, 294.99°)
OKLaboklab(34.72% 0.0062 -0.1081)
OKLCHoklch(34.72% 0.108 273.3)
XYZxyz(5.0347, 3.9445, 16.1156)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293271 #716829
analogous
#295671 #293271 #442971
triadic
#293271 #712932 #327129
tetradic
#293271 #712956 #716829 #297144
square
#293271 #712956 #716829 #297144
split-complementary
#293271 #714429 #567129
monochromatic
#080A17 #191E44 #293271 #39469E #5461C1

Accessibility & contrast

On white

11.74
#293271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#293271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293271
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293271#FFFFFF#000000##FFFFFF
##2932711.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3B73
Deuteranopia (green-blind)
#003570
Tritanopia (blue-blind)
#00414C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #293271;
/* rgb */ color: rgb(41, 50, 113);
/* oklch */ color: oklch(34.7% 0.108 273.3);
Tailwind
colors: {
  custom: {
    50: '#6b699a',
    500: '#293271',
    950: '#000000',
  },
}
SCSS
$custom: #293271;
$custom-light: #6b699a;
$custom-dark: #000000;
JSON
{
  "hex": "#293271",
  "rgb": {
    "r": 41,
    "g": 50,
    "b": 113
  },
  "hsl": {
    "h": 232.5,
    "s": 46.753,
    "l": 30.196
  },
  "oklch": {
    "l": 0.34717,
    "c": 0.1083,
    "h": 273.3
  },
  "luminance": 0.03945
}

Semantic roles & 50–950 ramp

primary
#293271
secondary
#A39953
accent
#C651D6
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #293271

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

Preview Lab → · Contrast checker → · Palette generator →

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