#293161#293161

#293161 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.3% C 0.085 H 273.8°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#293161
RGBrgb(41, 49, 97)
HSLhsl(231, 41%, 27%)
HSVhsv(231, 58%, 38%)
CMYKcmyk(57.7%, 49.5%, 0%, 62%)
CIE-LABlab(22.06, 12.31, -29.66)
CIE-LCHlch(22.06, 32.11, 292.55°)
OKLaboklab(33.27% 0.0056 -0.0844)
OKLCHoklch(33.27% 0.085 273.8)
XYZxyz(4.1697, 3.5308, 11.7687)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293161 #615929
analogous
#294D61 #293161 #3D2961
triadic
#293161 #612931 #316129
tetradic
#293161 #61294D #615929 #29613D
square
#293161 #61294D #615929 #29613D
split-complementary
#293161 #613D29 #4D6129
monochromatic
#090B16 #171B36 #293161 #3B478C #505EB5

Accessibility & contrast

On white

12.31
#293161 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#293161 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293161
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293161#FFFFFF#000000##FFFFFF
##2931611.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3763
Deuteranopia (green-blind)
#153360
Tritanopia (blue-blind)
#0D3C44
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #293161;
/* rgb */ color: rgb(41, 49, 97);
/* oklch */ color: oklch(33.3% 0.085 273.8);
Tailwind
colors: {
  custom: {
    50: '#68688e',
    500: '#293161',
    950: '#000000',
  },
}
SCSS
$custom: #293161;
$custom-light: #68688e;
$custom-dark: #000000;
JSON
{
  "hex": "#293161",
  "rgb": {
    "r": 41,
    "g": 49,
    "b": 97
  },
  "hsl": {
    "h": 231.429,
    "s": 40.58,
    "l": 27.059
  },
  "oklch": {
    "l": 0.3327,
    "c": 0.08464,
    "h": 273.8
  },
  "luminance": 0.03531
}

Semantic roles & 50–950 ramp

primary
#293161
secondary
#948A52
accent
#BF57D0
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #293161

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

Preview Lab → · Contrast checker → · Palette generator →

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