#3331CC#3331CC

#3331CC is a dark, highly saturated blue. Relative luminance 0.073; OKLCH L 43.9% C 0.227 H 272.5°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#3331CC
RGBrgb(51, 49, 204)
HSLhsl(241, 61%, 50%)
HSVhsv(241, 76%, 80%)
CMYKcmyk(75%, 76%, 0%, 20%)
CIE-LABlab(32.39, 51.39, -78.52)
CIE-LCHlch(32.39, 93.85, 303.20°)
OKLaboklab(43.92% 0.0098 -0.2273)
OKLCHoklch(43.92% 0.227 272.5)
XYZxyz(13.3590, 7.2587, 57.8120)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3331CC #CACC31
analogous
#317DCC #3331CC #8031CC
triadic
#3331CC #CC3331 #31CC33
tetradic
#3331CC #CC317D #CACC31 #31CC80
square
#3331CC #CC317D #CACC31 #31CC80
split-complementary
#3331CC #CC8031 #7DCC31
monochromatic
#1A1969 #27259B #3331CC #6361D9 #9492E5

Accessibility & contrast

On white

8.56
#3331CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#3331CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3331CC
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3331CC#FFFFFF#000000##FFFFFF
##3331CC1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054D0
Deuteranopia (green-blind)
#0044C9
Tritanopia (blue-blind)
#005F7D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3331cc;
/* rgb */ color: rgb(51, 49, 204);
/* oklch */ color: oklch(43.9% 0.227 272.5);
Tailwind
colors: {
  custom: {
    50: '#846cdd',
    500: '#3331cc',
    950: '#000000',
  },
}
SCSS
$custom: #3331cc;
$custom-light: #846cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#3331cc",
  "rgb": {
    "r": 51,
    "g": 49,
    "b": 204
  },
  "hsl": {
    "h": 240.774,
    "s": 61.265,
    "l": 49.608
  },
  "oklch": {
    "l": 0.43921,
    "c": 0.22747,
    "h": 272.5
  },
  "luminance": 0.0726
}

Semantic roles & 50–950 ramp

primary
#3331CC
secondary
#CFD089
accent
#E443E2
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3331CC

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

Preview Lab → · Contrast checker → · Palette generator →

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