#293297#293297

#293297 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.1% C 0.163 H 272.0°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#293297
RGBrgb(41, 50, 151)
HSLhsl(235, 57%, 38%)
HSVhsv(235, 73%, 59%)
CMYKcmyk(72.8%, 66.9%, 0%, 40.8%)
CIE-LABlab(26.70, 31.74, -56.29)
CIE-LCHlch(26.70, 64.62, 299.42°)
OKLaboklab(38.09% 0.0057 -0.1627)
OKLCHoklch(38.09% 0.163 272)
XYZxyz(7.6391, 4.9862, 29.8320)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293297 #978E29
analogous
#296997 #293297 #572997
triadic
#293297 #972932 #329729
tetradic
#293297 #972969 #978E29 #299757
square
#293297 #972969 #978E29 #299757
split-complementary
#293297 #975729 #699729
monochromatic
#0F1237 #1C2267 #293297 #3642C7 #656ED5

Accessibility & contrast

On white

10.51
#293297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#293297 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293297
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293297#FFFFFF#000000##FFFFFF
##2932971.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#003A95
Tritanopia (blue-blind)
#004D60
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #293297;
/* rgb */ color: rgb(41, 50, 151);
/* oklch */ color: oklch(38.1% 0.163 272.0);
Tailwind
colors: {
  custom: {
    50: '#736ab7',
    500: '#293297',
    950: '#000000',
  },
}
SCSS
$custom: #293297;
$custom-light: #736ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#293297",
  "rgb": {
    "r": 41,
    "g": 50,
    "b": 151
  },
  "hsl": {
    "h": 235.091,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38093,
    "c": 0.16277,
    "h": 272
  },
  "luminance": 0.04987
}

Semantic roles & 50–950 ramp

primary
#293297
secondary
#BBB461
accent
#D447E1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #293297

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

Preview Lab → · Contrast checker → · Palette generator →

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