#3334C1#3334C1

#3334C1 is a dark, highly saturated blue. Relative luminance 0.070; OKLCH L 43.2% C 0.212 H 272.8°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#3334C1
RGBrgb(51, 52, 193)
HSLhsl(240, 58%, 48%)
HSVhsv(240, 74%, 76%)
CMYKcmyk(73.6%, 73.1%, 0%, 24.3%)
CIE-LABlab(31.83, 46.18, -73.01)
CIE-LCHlch(31.83, 86.39, 302.31°)
OKLaboklab(43.18% 0.0105 -0.2113)
OKLCHoklch(43.18% 0.212 272.8)
XYZxyz(12.2156, 7.0088, 51.1508)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3334C1 #C1C033
analogous
#337BC1 #3334C1 #7933C1
triadic
#3334C1 #C13334 #34C133
tetradic
#3334C1 #C1337B #C1C033 #33C179
square
#3334C1 #C1337B #C1C033 #33C179
split-complementary
#3334C1 #C17933 #7BC133
monochromatic
#191A60 #262791 #3334C1 #5D5ED4 #8D8EE1

Accessibility & contrast

On white

8.74
#3334C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#3334C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3334C1
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3334C1#FFFFFF#000000##FFFFFF
##3334C11.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3334c1;
/* rgb */ color: rgb(51, 52, 193);
/* oklch */ color: oklch(43.2% 0.212 272.8);
Tailwind
colors: {
  custom: {
    50: '#816dd5',
    500: '#3334c1',
    950: '#000000',
  },
}
SCSS
$custom: #3334c1;
$custom-light: #816dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#3334c1",
  "rgb": {
    "r": 51,
    "g": 52,
    "b": 193
  },
  "hsl": {
    "h": 239.577,
    "s": 58.197,
    "l": 47.843
  },
  "oklch": {
    "l": 0.43184,
    "c": 0.21153,
    "h": 272.8
  },
  "luminance": 0.0701
}

Semantic roles & 50–950 ramp

primary
#3334C1
secondary
#CBCB84
accent
#E046E1
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3334C1

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

Preview Lab → · Contrast checker → · Palette generator →

#3334C1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva