#293281#293281

#293281 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.1% C 0.132 H 272.9°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#293281
RGBrgb(41, 50, 129)
HSLhsl(234, 52%, 33%)
HSVhsv(234, 68%, 51%)
CMYKcmyk(68.2%, 61.2%, 0%, 49.4%)
CIE-LABlab(24.76, 23.59, -45.80)
CIE-LCHlch(24.76, 51.52, 297.25°)
OKLaboklab(36.07% 0.0067 -0.1319)
OKLCHoklch(36.07% 0.132 272.9)
XYZxyz(6.0162, 4.3371, 21.2847)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293281 #817829
analogous
#295E81 #293281 #4C2981
triadic
#293281 #812932 #328129
tetradic
#293281 #81295E #817829 #29814C
square
#293281 #81295E #817829 #29814C
split-complementary
#293281 #814C29 #5E8129
monochromatic
#0B0E24 #1A2053 #293281 #3844AF #5A65CB

Accessibility & contrast

On white

11.24
#293281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#293281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293281
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293281#FFFFFF#000000##FFFFFF
##2932811.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F84
Deuteranopia (green-blind)
#00377F
Tritanopia (blue-blind)
#004554
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #293281;
/* rgb */ color: rgb(41, 50, 129);
/* oklch */ color: oklch(36.1% 0.132 272.9);
Tailwind
colors: {
  custom: {
    50: '#6e69a6',
    500: '#293281',
    950: '#000000',
  },
}
SCSS
$custom: #293281;
$custom-light: #6e69a6;
$custom-dark: #000000;
JSON
{
  "hex": "#293281",
  "rgb": {
    "r": 41,
    "g": 50,
    "b": 129
  },
  "hsl": {
    "h": 233.864,
    "s": 51.765,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36065,
    "c": 0.13209,
    "h": 272.9
  },
  "luminance": 0.04338
}

Semantic roles & 50–950 ramp

primary
#293281
secondary
#B0A756
accent
#CD4DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #293281

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

Preview Lab → · Contrast checker → · Palette generator →

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