#3331CF#3331CF

#3331CF is a dark, highly saturated blue. Relative luminance 0.074; OKLCH L 44.2% C 0.231 H 272.3°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#3331CF
RGBrgb(51, 49, 207)
HSLhsl(241, 62%, 50%)
HSVhsv(241, 76%, 81%)
CMYKcmyk(75.4%, 76.3%, 0%, 18.8%)
CIE-LABlab(32.71, 52.35, -79.74)
CIE-LCHlch(32.71, 95.38, 303.28°)
OKLaboklab(44.24% 0.0092 -0.2308)
OKLCHoklch(44.24% 0.231 272.3)
XYZxyz(13.7223, 7.4040, 59.7253)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3331CF #CDCF31
analogous
#317ECF #3331CF #8231CF
triadic
#3331CF #CF3331 #31CF33
tetradic
#3331CF #CF317E #CDCF31 #31CF82
square
#3331CF #CF317E #CDCF31 #31CF82
split-complementary
#3331CF #CF8231 #7ECF31
monochromatic
#1A196C #26259E #3331CF #6463DB #9594E6

Accessibility & contrast

On white

8.46
#3331CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#3331CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3331CF
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3331CF#FFFFFF#000000##FFFFFF
##3331CF1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055D3
Deuteranopia (green-blind)
#0045CC
Tritanopia (blue-blind)
#00607F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3331cf;
/* rgb */ color: rgb(51, 49, 207);
/* oklch */ color: oklch(44.2% 0.231 272.3);
Tailwind
colors: {
  custom: {
    50: '#846cdf',
    500: '#3331cf',
    950: '#000000',
  },
}
SCSS
$custom: #3331cf;
$custom-light: #846cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#3331cf",
  "rgb": {
    "r": 51,
    "g": 49,
    "b": 207
  },
  "hsl": {
    "h": 240.759,
    "s": 62.205,
    "l": 50.196
  },
  "oklch": {
    "l": 0.44242,
    "c": 0.23097,
    "h": 272.3
  },
  "luminance": 0.07405
}

Semantic roles & 50–950 ramp

primary
#3331CF
secondary
#D0D18B
accent
#E543E3
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3331CF

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

Preview Lab → · Contrast checker → · Palette generator →

#3331CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva