#332E90#332E90

#332E90 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.4% C 0.156 H 278.0°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#332E90
RGBrgb(51, 46, 144)
HSLhsl(243, 52%, 37%)
HSVhsv(243, 68%, 56%)
CMYKcmyk(64.6%, 68.1%, 0%, 43.5%)
CIE-LABlab(25.78, 33.19, -53.46)
CIE-LCHlch(25.78, 62.92, 301.84°)
OKLaboklab(37.4% 0.0217 -0.1541)
OKLCHoklch(37.4% 0.156 278)
XYZxyz(7.3747, 4.6708, 26.8931)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332E90 #8B902E
analogous
#2E5A90 #332E90 #642E90
triadic
#332E90 #90332E #2E9033
tetradic
#332E90 #902E5A #8B902E #2E9064
square
#332E90 #902E5A #8B902E #2E9064
split-complementary
#332E90 #90642E #5A902E
monochromatic
#121033 #231F62 #332E90 #433DBE #6E69CF

Accessibility & contrast

On white

10.86
#332E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#332E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332E90
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332E90#FFFFFF#000000##FFFFFF
##332E901.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004193
Deuteranopia (green-blind)
#00398E
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #332e90;
/* rgb */ color: rgb(51, 46, 144);
/* oklch */ color: oklch(37.4% 0.156 278.0);
Tailwind
colors: {
  custom: {
    50: '#7667b1',
    500: '#332e90',
    950: '#000000',
  },
}
SCSS
$custom: #332e90;
$custom-light: #7667b1;
$custom-dark: #000000;
JSON
{
  "hex": "#332e90",
  "rgb": {
    "r": 51,
    "g": 46,
    "b": 144
  },
  "hsl": {
    "h": 243.061,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37404,
    "c": 0.15565,
    "h": 278
  },
  "luminance": 0.04671
}

Semantic roles & 50–950 ramp

primary
#332E90
secondary
#B2B664
accent
#DB4DD4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #332E90

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

Preview Lab → · Contrast checker → · Palette generator →

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