#332E95#332E95

#332E95 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.9% C 0.162 H 277.4°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#332E95
RGBrgb(51, 46, 149)
HSLhsl(243, 53%, 38%)
HSVhsv(243, 69%, 58%)
CMYKcmyk(65.8%, 69.1%, 0%, 41.6%)
CIE-LABlab(26.24, 34.91, -55.78)
CIE-LCHlch(26.24, 65.81, 302.03°)
OKLaboklab(37.88% 0.021 -0.1609)
OKLCHoklch(37.88% 0.162 277.4)
XYZxyz(7.7653, 4.8271, 28.9504)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332E95 #90952E
analogous
#2E5C95 #332E95 #662E95
triadic
#332E95 #95332E #2E9533
tetradic
#332E95 #952E5C #90952E #2E9566
square
#332E95 #952E5C #90952E #2E9566
split-complementary
#332E95 #95662E #5C952E
monochromatic
#131137 #232066 #332E95 #443DC3 #716CD2

Accessibility & contrast

On white

10.68
#332E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#332E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332E95
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332E95#FFFFFF#000000##FFFFFF
##332E951.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004298
Deuteranopia (green-blind)
#003A93
Tritanopia (blue-blind)
#00495D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #332e95;
/* rgb */ color: rgb(51, 46, 149);
/* oklch */ color: oklch(37.9% 0.162 277.4);
Tailwind
colors: {
  custom: {
    50: '#7767b5',
    500: '#332e95',
    950: '#000000',
  },
}
SCSS
$custom: #332e95;
$custom-light: #7767b5;
$custom-dark: #000000;
JSON
{
  "hex": "#332e95",
  "rgb": {
    "r": 51,
    "g": 46,
    "b": 149
  },
  "hsl": {
    "h": 242.913,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37879,
    "c": 0.16231,
    "h": 277.4
  },
  "luminance": 0.04828
}

Semantic roles & 50–950 ramp

primary
#332E95
secondary
#B5B966
accent
#DC4CD5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #332E95

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

Preview Lab → · Contrast checker → · Palette generator →

#332E95 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva