#3331CA#3331CA

#3331CA is a dark, highly saturated blue. Relative luminance 0.072; OKLCH L 43.7% C 0.225 H 272.6°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#3331CA
RGBrgb(51, 49, 202)
HSLhsl(241, 61%, 49%)
HSVhsv(241, 76%, 79%)
CMYKcmyk(74.8%, 75.7%, 0%, 20.8%)
CIE-LABlab(32.18, 50.76, -77.71)
CIE-LCHlch(32.18, 92.82, 303.15°)
OKLaboklab(43.71% 0.0102 -0.2249)
OKLCHoklch(43.71% 0.225 272.6)
XYZxyz(13.1206, 7.1633, 56.5568)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3331CA #C8CA31
analogous
#317CCA #3331CA #8031CA
triadic
#3331CA #CA3331 #31CA33
tetradic
#3331CA #CA317C #C8CA31 #31CA80
square
#3331CA #CA317C #C8CA31 #31CA80
split-complementary
#3331CA #CA8031 #7CCA31
monochromatic
#1A1967 #272599 #3331CA #6160D8 #9291E4

Accessibility & contrast

On white

8.63
#3331CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#3331CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3331CA
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3331CA#FFFFFF#000000##FFFFFF
##3331CA1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053CE
Deuteranopia (green-blind)
#0044C7
Tritanopia (blue-blind)
#005E7C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3331ca;
/* rgb */ color: rgb(51, 49, 202);
/* oklch */ color: oklch(43.7% 0.225 272.6);
Tailwind
colors: {
  custom: {
    50: '#836cdc',
    500: '#3331ca',
    950: '#000000',
  },
}
SCSS
$custom: #3331ca;
$custom-light: #836cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#3331ca",
  "rgb": {
    "r": 51,
    "g": 49,
    "b": 202
  },
  "hsl": {
    "h": 240.784,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.43709,
    "c": 0.22513,
    "h": 272.6
  },
  "luminance": 0.07165
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3331CA

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

Preview Lab → · Contrast checker → · Palette generator →

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