#333091#333091

#333091 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.8% C 0.155 H 277.4°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#333091
RGBrgb(51, 48, 145)
HSLhsl(242, 50%, 38%)
HSVhsv(242, 67%, 57%)
CMYKcmyk(64.8%, 66.9%, 0%, 43.1%)
CIE-LABlab(26.34, 32.27, -53.16)
CIE-LCHlch(26.34, 62.19, 301.26°)
OKLaboklab(37.84% 0.0199 -0.1532)
OKLCHoklch(37.84% 0.155 277.4)
XYZxyz(7.5314, 4.8614, 27.3240)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333091 #8E9130
analogous
#305D91 #333091 #643091
triadic
#333091 #913330 #309133
tetradic
#333091 #91305D #8E9130 #309164
square
#333091 #91305D #8E9130 #309164
split-complementary
#333091 #916430 #5D9130
monochromatic
#131235 #232163 #333091 #433FBF #706DCF

Accessibility & contrast

On white

10.65
#333091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#333091 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333091
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333091#FFFFFF#000000##FFFFFF
##3330911.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004294
Deuteranopia (green-blind)
#003A8F
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #333091;
/* rgb */ color: rgb(51, 48, 145);
/* oklch */ color: oklch(37.8% 0.155 277.4);
Tailwind
colors: {
  custom: {
    50: '#7669b2',
    500: '#333091',
    950: '#000000',
  },
}
SCSS
$custom: #333091;
$custom-light: #7669b2;
$custom-dark: #000000;
JSON
{
  "hex": "#333091",
  "rgb": {
    "r": 51,
    "g": 48,
    "b": 145
  },
  "hsl": {
    "h": 241.856,
    "s": 50.259,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37839,
    "c": 0.15453,
    "h": 277.4
  },
  "luminance": 0.04862
}

Semantic roles & 50–950 ramp

primary
#333091
secondary
#B4B667
accent
#DA4ED5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #333091

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

Preview Lab → · Contrast checker → · Palette generator →

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