#332DAF#332DAF

#332DAF is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.3% C 0.197 H 275.0°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#332DAF
RGBrgb(51, 45, 175)
HSLhsl(243, 59%, 43%)
HSVhsv(243, 74%, 69%)
CMYKcmyk(70.9%, 74.3%, 0%, 31.4%)
CIE-LABlab(28.58, 44.21, -67.70)
CIE-LCHlch(28.58, 80.86, 303.14°)
OKLaboklab(40.33% 0.0173 -0.1957)
OKLCHoklch(40.33% 0.197 275)
XYZxyz(10.0389, 5.6748, 41.1154)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332DAF #A9AF2D
analogous
#2D68AF #332DAF #742DAF
triadic
#332DAF #AF332D #2DAF33
tetradic
#332DAF #AF2D68 #A9AF2D #2DAF74
square
#332DAF #AF2D68 #A9AF2D #2DAF74
split-complementary
#332DAF #AF742D #68AF2D
monochromatic
#17144E #25207E #332DAF #4F49D0 #7E7ADD

Accessibility & contrast

On white

9.84
#332DAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#332DAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332DAF
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332DAF#FFFFFF#000000##FFFFFF
##332DAF1.009.842.149.84
#FFFFFF9.841.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B3
Deuteranopia (green-blind)
#003DAD
Tritanopia (blue-blind)
#00526C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #332daf;
/* rgb */ color: rgb(51, 45, 175);
/* oklch */ color: oklch(40.3% 0.197 275.0);
Tailwind
colors: {
  custom: {
    50: '#7d68c8',
    500: '#332daf',
    950: '#000000',
  },
}
SCSS
$custom: #332daf;
$custom-light: #7d68c8;
$custom-dark: #000000;
JSON
{
  "hex": "#332daf",
  "rgb": {
    "r": 51,
    "g": 45,
    "b": 175
  },
  "hsl": {
    "h": 242.769,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.40325,
    "c": 0.19651,
    "h": 275
  },
  "luminance": 0.05676
}

Semantic roles & 50–950 ramp

primary
#332DAF
secondary
#C1C573
accent
#E246DB
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #332DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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