#293159#293159

#293159 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.7% C 0.072 H 273.3°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#293159
RGBrgb(41, 49, 89)
HSLhsl(230, 37%, 25%)
HSVhsv(230, 54%, 35%)
CMYKcmyk(53.9%, 44.9%, 0%, 65.1%)
CIE-LABlab(21.54, 9.39, -25.22)
CIE-LCHlch(21.54, 26.91, 290.43°)
OKLaboklab(32.71% 0.0041 -0.0714)
OKLCHoklch(32.71% 0.072 273.3)
XYZxyz(3.8154, 3.3891, 9.9024)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293159 #595129
analogous
#294959 #293159 #392959
triadic
#293159 #592931 #315929
tetradic
#293159 #592949 #595129 #295939
square
#293159 #592949 #595129 #295939
split-complementary
#293159 #593929 #495929
monochromatic
#0A0C15 #161A2F #293159 #3C4883 #505FAD

Accessibility & contrast

On white

12.52
#293159 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#293159 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293159
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293159#FFFFFF#000000##FFFFFF
##2931591.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21365B
Deuteranopia (green-blind)
#1C3258
Tritanopia (blue-blind)
#153940
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #293159;
/* rgb */ color: rgb(41, 49, 89);
/* oklch */ color: oklch(32.7% 0.072 273.3);
Tailwind
colors: {
  custom: {
    50: '#666888',
    500: '#293159',
    950: '#000000',
  },
}
SCSS
$custom: #293159;
$custom-light: #666888;
$custom-dark: #000000;
JSON
{
  "hex": "#293159",
  "rgb": {
    "r": 41,
    "g": 49,
    "b": 89
  },
  "hsl": {
    "h": 230,
    "s": 36.923,
    "l": 25.49
  },
  "oklch": {
    "l": 0.32708,
    "c": 0.07155,
    "h": 273.3
  },
  "luminance": 0.03389
}

Semantic roles & 50–950 ramp

primary
#293159
secondary
#8C8252
accent
#BA5BCD
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060B
muted
#7A7A7C

Preview Lab

Preview with #293159

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

Preview Lab → · Contrast checker → · Palette generator →

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