#3331C8#3331C8

#3331C8 is a dark, highly saturated blue. Relative luminance 0.071; OKLCH L 43.5% C 0.223 H 272.7°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#3331C8
RGBrgb(51, 49, 200)
HSLhsl(241, 61%, 49%)
HSVhsv(241, 76%, 78%)
CMYKcmyk(74.5%, 75.5%, 0%, 21.6%)
CIE-LABlab(31.96, 50.12, -76.89)
CIE-LCHlch(31.96, 91.78, 303.10°)
OKLaboklab(43.5% 0.0106 -0.2225)
OKLCHoklch(43.5% 0.223 272.7)
XYZxyz(12.8854, 7.0692, 55.3178)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3331C8 #C6C831
analogous
#317BC8 #3331C8 #7F31C8
triadic
#3331C8 #C83331 #31C833
tetradic
#3331C8 #C8317B #C6C831 #31C87F
square
#3331C8 #C8317B #C6C831 #31C87F
split-complementary
#3331C8 #C87F31 #7BC831
monochromatic
#1A1966 #262597 #3331C8 #605FD8 #9190E4

Accessibility & contrast

On white

8.70
#3331C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#3331C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3331C8
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3331C8#FFFFFF#000000##FFFFFF
##3331C81.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052CC
Deuteranopia (green-blind)
#0044C5
Tritanopia (blue-blind)
#005E7B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3331c8;
/* rgb */ color: rgb(51, 49, 200);
/* oklch */ color: oklch(43.5% 0.223 272.7);
Tailwind
colors: {
  custom: {
    50: '#836bda',
    500: '#3331c8',
    950: '#000000',
  },
}
SCSS
$custom: #3331c8;
$custom-light: #836bda;
$custom-dark: #000000;
JSON
{
  "hex": "#3331c8",
  "rgb": {
    "r": 51,
    "g": 49,
    "b": 200
  },
  "hsl": {
    "h": 240.795,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.43497,
    "c": 0.22277,
    "h": 272.7
  },
  "luminance": 0.07071
}

Semantic roles & 50–950 ramp

primary
#3331C8
secondary
#CDCE86
accent
#E444E2
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0D0715
muted
#7D7A83

Preview Lab

Preview with #3331C8

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

Preview Lab → · Contrast checker → · Palette generator →

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