#293166#293166

#293166 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.6% C 0.093 H 273.9°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#293166
RGBrgb(41, 49, 102)
HSLhsl(232, 43%, 28%)
HSVhsv(232, 60%, 40%)
CMYKcmyk(59.8%, 52%, 0%, 60%)
CIE-LABlab(22.40, 14.16, -32.37)
CIE-LCHlch(22.40, 35.33, 293.63°)
OKLaboklab(33.64% 0.0063 -0.0924)
OKLCHoklch(33.64% 0.093 273.9)
XYZxyz(4.4103, 3.6270, 13.0355)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293166 #665E29
analogous
#294F66 #293166 #3F2966
triadic
#293166 #662931 #316629
tetradic
#293166 #66294F #665E29 #29663F
square
#293166 #66294F #665E29 #29663F
split-complementary
#293166 #663F29 #4F6629
monochromatic
#090A16 #171C3A #293166 #3B4692 #515EB9

Accessibility & contrast

On white

12.17
#293166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#293166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293166
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293166#FFFFFF#000000##FFFFFF
##2931661.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173868
Deuteranopia (green-blind)
#0E3365
Tritanopia (blue-blind)
#063D46
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #293166;
/* rgb */ color: rgb(41, 49, 102);
/* oklch */ color: oklch(33.6% 0.093 273.9);
Tailwind
colors: {
  custom: {
    50: '#696892',
    500: '#293166',
    950: '#000000',
  },
}
SCSS
$custom: #293166;
$custom-light: #696892;
$custom-dark: #000000;
JSON
{
  "hex": "#293166",
  "rgb": {
    "r": 41,
    "g": 49,
    "b": 102
  },
  "hsl": {
    "h": 232.131,
    "s": 42.657,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3364,
    "c": 0.09262,
    "h": 273.9
  },
  "luminance": 0.03627
}

Semantic roles & 50–950 ramp

primary
#293166
secondary
#988F52
accent
#C255D2
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #293166

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

Preview Lab → · Contrast checker → · Palette generator →

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