#333FC5#333FC5

#333FC5 is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 45.3% C 0.205 H 271.2°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#333FC5
RGBrgb(51, 63, 197)
HSLhsl(235, 59%, 49%)
HSVhsv(235, 74%, 77%)
CMYKcmyk(74.1%, 68%, 0%, 22.7%)
CIE-LABlab(34.58, 41.04, -70.83)
CIE-LCHlch(34.58, 81.86, 300.09°)
OKLaboklab(45.28% 0.0042 -0.2049)
OKLCHoklch(45.28% 0.205 271.2)
XYZxyz(13.2174, 8.2886, 53.7158)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333FC5 #C5B933
analogous
#3388C5 #333FC5 #7033C5
triadic
#333FC5 #C5333F #3FC533
tetradic
#333FC5 #C53388 #C5B933 #33C570
square
#333FC5 #C53388 #C5B933 #33C570
split-complementary
#333FC5 #C57033 #88C533
monochromatic
#1A2064 #262F94 #333FC5 #5F69D6 #9097E2

Accessibility & contrast

On white

7.90
#333FC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#333FC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333FC5
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333FC5#FFFFFF#000000##FFFFFF
##333FC51.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C9
Deuteranopia (green-blind)
#004AC3
Tritanopia (blue-blind)
#00637D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #333fc5;
/* rgb */ color: rgb(51, 63, 197);
/* oklch */ color: oklch(45.3% 0.205 271.2);
Tailwind
colors: {
  custom: {
    50: '#8174d8',
    500: '#333fc5',
    950: '#000000',
  },
}
SCSS
$custom: #333fc5;
$custom-light: #8174d8;
$custom-dark: #000000;
JSON
{
  "hex": "#333fc5",
  "rgb": {
    "r": 51,
    "g": 63,
    "b": 197
  },
  "hsl": {
    "h": 235.068,
    "s": 58.871,
    "l": 48.627
  },
  "oklch": {
    "l": 0.45277,
    "c": 0.20496,
    "h": 271.2
  },
  "luminance": 0.0829
}

Semantic roles & 50–950 ramp

primary
#333FC5
secondary
#CDC787
accent
#D546E2
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #333FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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