#333FC7#333FC7

#333FC7 is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 45.5% C 0.207 H 271.1°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#333FC7
RGBrgb(51, 63, 199)
HSLhsl(235, 59%, 49%)
HSVhsv(235, 74%, 78%)
CMYKcmyk(74.4%, 68.3%, 0%, 22%)
CIE-LABlab(34.76, 41.73, -71.69)
CIE-LCHlch(34.76, 82.95, 300.20°)
OKLaboklab(45.47% 0.004 -0.2074)
OKLCHoklch(45.47% 0.207 271.1)
XYZxyz(13.4480, 8.3809, 54.9307)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333FC7 #C7BB33
analogous
#3389C7 #333FC7 #7133C7
triadic
#333FC7 #C7333F #3FC733
tetradic
#333FC7 #C73389 #C7BB33 #33C771
square
#333FC7 #C73389 #C7BB33 #33C771
split-complementary
#333FC7 #C77133 #89C733
monochromatic
#1A2066 #273096 #333FC7 #616AD6 #9198E3

Accessibility & contrast

On white

7.85
#333FC7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#333FC7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333FC7
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333FC7#FFFFFF#000000##FFFFFF
##333FC71.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CB
Deuteranopia (green-blind)
#004BC4
Tritanopia (blue-blind)
#00647E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #333fc7;
/* rgb */ color: rgb(51, 63, 199);
/* oklch */ color: oklch(45.5% 0.207 271.1);
Tailwind
colors: {
  custom: {
    50: '#8174d9',
    500: '#333fc7',
    950: '#000000',
  },
}
SCSS
$custom: #333fc7;
$custom-light: #8174d9;
$custom-dark: #000000;
JSON
{
  "hex": "#333fc7",
  "rgb": {
    "r": 51,
    "g": 63,
    "b": 199
  },
  "hsl": {
    "h": 235.135,
    "s": 59.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.4547,
    "c": 0.20747,
    "h": 271.1
  },
  "luminance": 0.08382
}

Semantic roles & 50–950 ramp

primary
#333FC7
secondary
#CEC888
accent
#D645E2
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #333FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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