#293371#293371

#293371 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.9% C 0.107 H 272.7°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#293371
RGBrgb(41, 51, 113)
HSLhsl(232, 47%, 30%)
HSVhsv(232, 64%, 44%)
CMYKcmyk(63.7%, 54.9%, 0%, 55.7%)
CIE-LABlab(23.77, 16.88, -37.25)
CIE-LCHlch(23.77, 40.90, 294.38°)
OKLaboklab(34.93% 0.0051 -0.1067)
OKLCHoklch(34.93% 0.107 272.7)
XYZxyz(5.0779, 4.0309, 16.1300)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293371 #716729
analogous
#295771 #293371 #432971
triadic
#293371 #712933 #337129
tetradic
#293371 #712957 #716729 #297143
square
#293371 #712957 #716729 #297143
split-complementary
#293371 #714329 #577129
monochromatic
#080A17 #191F44 #293371 #39479E #5463C1

Accessibility & contrast

On white

11.63
#293371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#293371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293371
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293371#FFFFFF#000000##FFFFFF
##2933711.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3C73
Deuteranopia (green-blind)
#003670
Tritanopia (blue-blind)
#00414C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #293371;
/* rgb */ color: rgb(41, 51, 113);
/* oklch */ color: oklch(34.9% 0.107 272.7);
Tailwind
colors: {
  custom: {
    50: '#6b6a9a',
    500: '#293371',
    950: '#000000',
  },
}
SCSS
$custom: #293371;
$custom-light: #6b6a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#293371",
  "rgb": {
    "r": 41,
    "g": 51,
    "b": 113
  },
  "hsl": {
    "h": 231.667,
    "s": 46.753,
    "l": 30.196
  },
  "oklch": {
    "l": 0.34933,
    "c": 0.10687,
    "h": 272.7
  },
  "luminance": 0.04031
}

Semantic roles & 50–950 ramp

primary
#293371
secondary
#A39853
accent
#C451D6
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #293371

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

Preview Lab → · Contrast checker → · Palette generator →

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