#293270#293270

#293270 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.6% C 0.107 H 273.3°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#293270
RGBrgb(41, 50, 112)
HSLhsl(232, 46%, 30%)
HSVhsv(232, 63%, 44%)
CMYKcmyk(63.4%, 55.4%, 0%, 56.1%)
CIE-LABlab(23.41, 17.20, -37.19)
CIE-LCHlch(23.41, 40.98, 294.82°)
OKLaboklab(34.64% 0.0061 -0.1066)
OKLCHoklch(34.64% 0.107 273.3)
XYZxyz(4.9787, 3.9221, 15.8208)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293270 #706729
analogous
#295670 #293270 #432970
triadic
#293270 #702932 #327029
tetradic
#293270 #702956 #706729 #297043
square
#293270 #702956 #706729 #297043
split-complementary
#293270 #704329 #567029
monochromatic
#080A16 #191E43 #293270 #39469D #5361C0

Accessibility & contrast

On white

11.77
#293270 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#293270 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293270
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293270#FFFFFF#000000##FFFFFF
##2932701.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3B72
Deuteranopia (green-blind)
#00356F
Tritanopia (blue-blind)
#00404C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #293270;
/* rgb */ color: rgb(41, 50, 112);
/* oklch */ color: oklch(34.6% 0.107 273.3);
Tailwind
colors: {
  custom: {
    50: '#6a6999',
    500: '#293270',
    950: '#000000',
  },
}
SCSS
$custom: #293270;
$custom-light: #6a6999;
$custom-dark: #000000;
JSON
{
  "hex": "#293270",
  "rgb": {
    "r": 41,
    "g": 50,
    "b": 112
  },
  "hsl": {
    "h": 232.394,
    "s": 46.405,
    "l": 30
  },
  "oklch": {
    "l": 0.34637,
    "c": 0.10677,
    "h": 273.3
  },
  "luminance": 0.03922
}

Semantic roles & 50–950 ramp

primary
#293270
secondary
#A29853
accent
#C552D6
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #293270

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

Preview Lab → · Contrast checker → · Palette generator →

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