#293170#293170

#293170 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.4% C 0.108 H 273.8°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#293170
RGBrgb(41, 49, 112)
HSLhsl(233, 46%, 30%)
HSVhsv(233, 63%, 44%)
CMYKcmyk(63.4%, 56.3%, 0%, 56.1%)
CIE-LABlab(23.13, 17.90, -37.65)
CIE-LCHlch(23.13, 41.69, 295.43°)
OKLaboklab(34.42% 0.0072 -0.108)
OKLCHoklch(34.42% 0.108 273.8)
XYZxyz(4.9364, 3.8375, 15.8067)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293170 #706829
analogous
#295570 #293170 #442970
triadic
#293170 #702931 #317029
tetradic
#293170 #702955 #706829 #297044
square
#293170 #702955 #706829 #297044
split-complementary
#293170 #704429 #557029
monochromatic
#080A16 #191D43 #293170 #39459D #5360C0

Accessibility & contrast

On white

11.88
#293170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#293170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293170
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293170#FFFFFF#000000##FFFFFF
##2931701.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083A72
Deuteranopia (green-blind)
#00346F
Tritanopia (blue-blind)
#00404B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #293170;
/* rgb */ color: rgb(41, 49, 112);
/* oklch */ color: oklch(34.4% 0.108 273.8);
Tailwind
colors: {
  custom: {
    50: '#6b689a',
    500: '#293170',
    950: '#000000',
  },
}
SCSS
$custom: #293170;
$custom-light: #6b689a;
$custom-dark: #000000;
JSON
{
  "hex": "#293170",
  "rgb": {
    "r": 41,
    "g": 49,
    "b": 112
  },
  "hsl": {
    "h": 233.239,
    "s": 46.405,
    "l": 30
  },
  "oklch": {
    "l": 0.34423,
    "c": 0.1082,
    "h": 273.8
  },
  "luminance": 0.03838
}

Semantic roles & 50–950 ramp

primary
#293170
secondary
#A29953
accent
#C752D6
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #293170

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

Preview Lab → · Contrast checker → · Palette generator →

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