#333FC1#333FC1

#333FC1 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.9% C 0.200 H 271.3°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#333FC1
RGBrgb(51, 63, 193)
HSLhsl(235, 58%, 48%)
HSVhsv(235, 74%, 76%)
CMYKcmyk(73.6%, 67.4%, 0%, 24.3%)
CIE-LABlab(34.21, 39.65, -69.10)
CIE-LCHlch(34.21, 79.67, 299.85°)
OKLaboklab(44.9% 0.0046 -0.1998)
OKLCHoklch(44.9% 0.2 271.3)
XYZxyz(12.7651, 8.1077, 51.3339)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333FC1 #C1B533
analogous
#3386C1 #333FC1 #6E33C1
triadic
#333FC1 #C1333F #3FC133
tetradic
#333FC1 #C13386 #C1B533 #33C16E
square
#333FC1 #C13386 #C1B533 #33C16E
split-complementary
#333FC1 #C16E33 #86C133
monochromatic
#191F60 #262F91 #333FC1 #5D67D4 #8D94E1

Accessibility & contrast

On white

8.01
#333FC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#333FC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333FC1
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333FC1#FFFFFF#000000##FFFFFF
##333FC11.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C5
Deuteranopia (green-blind)
#004ABF
Tritanopia (blue-blind)
#00627B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #333fc1;
/* rgb */ color: rgb(51, 63, 193);
/* oklch */ color: oklch(44.9% 0.200 271.3);
Tailwind
colors: {
  custom: {
    50: '#8074d5',
    500: '#333fc1',
    950: '#000000',
  },
}
SCSS
$custom: #333fc1;
$custom-light: #8074d5;
$custom-dark: #000000;
JSON
{
  "hex": "#333fc1",
  "rgb": {
    "r": 51,
    "g": 63,
    "b": 193
  },
  "hsl": {
    "h": 234.93,
    "s": 58.197,
    "l": 47.843
  },
  "oklch": {
    "l": 0.44896,
    "c": 0.1999,
    "h": 271.3
  },
  "luminance": 0.08109
}

Semantic roles & 50–950 ramp

primary
#333FC1
secondary
#CBC584
accent
#D446E1
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #333FC1

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

Preview Lab → · Contrast checker → · Palette generator →

#333FC1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva