#293181#293181

#293181 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.9% C 0.133 H 273.3°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#293181
RGBrgb(41, 49, 129)
HSLhsl(235, 52%, 33%)
HSVhsv(235, 68%, 51%)
CMYKcmyk(68.2%, 62%, 0%, 49.4%)
CIE-LABlab(24.49, 24.27, -46.24)
CIE-LCHlch(24.49, 52.22, 297.70°)
OKLaboklab(35.87% 0.0076 -0.1332)
OKLCHoklch(35.87% 0.133 273.3)
XYZxyz(5.9739, 4.2525, 21.2706)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293181 #817929
analogous
#295D81 #293181 #4D2981
triadic
#293181 #812931 #318129
tetradic
#293181 #81295D #817929 #29814D
square
#293181 #81295D #817929 #29814D
split-complementary
#293181 #814D29 #5D8129
monochromatic
#0B0E24 #1A1F53 #293181 #3843AF #5A64CB

Accessibility & contrast

On white

11.35
#293181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#293181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293181
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293181#FFFFFF#000000##FFFFFF
##2931811.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E84
Deuteranopia (green-blind)
#00367F
Tritanopia (blue-blind)
#004554
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #293181;
/* rgb */ color: rgb(41, 49, 129);
/* oklch */ color: oklch(35.9% 0.133 273.3);
Tailwind
colors: {
  custom: {
    50: '#6e69a6',
    500: '#293181',
    950: '#000000',
  },
}
SCSS
$custom: #293181;
$custom-light: #6e69a6;
$custom-dark: #000000;
JSON
{
  "hex": "#293181",
  "rgb": {
    "r": 41,
    "g": 49,
    "b": 129
  },
  "hsl": {
    "h": 234.545,
    "s": 51.765,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35868,
    "c": 0.13343,
    "h": 273.3
  },
  "luminance": 0.04253
}

Semantic roles & 50–950 ramp

primary
#293181
secondary
#B0A856
accent
#CE4DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #293181

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

Preview Lab → · Contrast checker → · Palette generator →

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