#293175#293175

#293175 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.8% C 0.116 H 273.7°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#293175
RGBrgb(41, 49, 117)
HSLhsl(234, 48%, 31%)
HSVhsv(234, 65%, 46%)
CMYKcmyk(65%, 58.1%, 0%, 54.1%)
CIE-LABlab(23.51, 19.78, -40.23)
CIE-LCHlch(23.51, 44.83, 296.18°)
OKLaboklab(34.83% 0.0075 -0.1155)
OKLCHoklch(34.83% 0.116 273.7)
XYZxyz(5.2226, 3.9520, 17.3138)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293175 #756D29
analogous
#295775 #293175 #472975
triadic
#293175 #752931 #317529
tetradic
#293175 #752957 #756D29 #297547
square
#293175 #752957 #756D29 #297547
split-complementary
#293175 #754729 #577529
monochromatic
#090B1A #191E48 #293175 #3944A2 #5561C3

Accessibility & contrast

On white

11.73
#293175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #293175
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293175#FFFFFF#000000##FFFFFF
##2931751.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B77
Deuteranopia (green-blind)
#003574
Tritanopia (blue-blind)
#00414E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #293175;
/* rgb */ color: rgb(41, 49, 117);
/* oklch */ color: oklch(34.8% 0.116 273.7);
Tailwind
colors: {
  custom: {
    50: '#6c699d',
    500: '#293175',
    950: '#000000',
  },
}
SCSS
$custom: #293175;
$custom-light: #6c699d;
$custom-dark: #000000;
JSON
{
  "hex": "#293175",
  "rgb": {
    "r": 41,
    "g": 49,
    "b": 117
  },
  "hsl": {
    "h": 233.684,
    "s": 48.101,
    "l": 30.98
  },
  "oklch": {
    "l": 0.34834,
    "c": 0.11578,
    "h": 273.7
  },
  "luminance": 0.03952
}

Semantic roles & 50–950 ramp

primary
#293175
secondary
#A79E53
accent
#C950D8
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #293175

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

Preview Lab → · Contrast checker → · Palette generator →

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