#333FC4#333FC4

#333FC4 is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.2% C 0.204 H 271.2°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#333FC4
RGBrgb(51, 63, 196)
HSLhsl(235, 59%, 48%)
HSVhsv(235, 74%, 77%)
CMYKcmyk(74%, 67.9%, 0%, 23.1%)
CIE-LABlab(34.48, 40.69, -70.40)
CIE-LCHlch(34.48, 81.31, 300.03°)
OKLaboklab(45.18% 0.0043 -0.2036)
OKLCHoklch(45.18% 0.204 271.2)
XYZxyz(13.1032, 8.2430, 53.1143)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333FC4 #C4B833
analogous
#3388C4 #333FC4 #6F33C4
triadic
#333FC4 #C4333F #3FC433
tetradic
#333FC4 #C43388 #C4B833 #33C46F
square
#333FC4 #C43388 #C4B833 #33C46F
split-complementary
#333FC4 #C46F33 #88C433
monochromatic
#1A2063 #262F93 #333FC4 #5F69D5 #8F96E2

Accessibility & contrast

On white

7.93
#333FC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#333FC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333FC4
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333FC4#FFFFFF#000000##FFFFFF
##333FC41.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C8
Deuteranopia (green-blind)
#004AC2
Tritanopia (blue-blind)
#00637C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #333fc4;
/* rgb */ color: rgb(51, 63, 196);
/* oklch */ color: oklch(45.2% 0.204 271.2);
Tailwind
colors: {
  custom: {
    50: '#8074d7',
    500: '#333fc4',
    950: '#000000',
  },
}
SCSS
$custom: #333fc4;
$custom-light: #8074d7;
$custom-dark: #000000;
JSON
{
  "hex": "#333fc4",
  "rgb": {
    "r": 51,
    "g": 63,
    "b": 196
  },
  "hsl": {
    "h": 235.034,
    "s": 58.704,
    "l": 48.431
  },
  "oklch": {
    "l": 0.45182,
    "c": 0.2037,
    "h": 271.2
  },
  "luminance": 0.08244
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #333FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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