#333FC8#333FC8

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

Color values

HEX#333FC8
RGBrgb(51, 63, 200)
HSLhsl(235, 59%, 49%)
HSVhsv(235, 75%, 78%)
CMYKcmyk(74.5%, 68.5%, 0%, 21.6%)
CIE-LABlab(34.86, 42.08, -72.12)
CIE-LCHlch(34.86, 83.50, 300.26°)
OKLaboklab(45.57% 0.0039 -0.2087)
OKLCHoklch(45.57% 0.209 271.1)
XYZxyz(13.5645, 8.4275, 55.5442)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333FC8 #C8BC33
analogous
#338AC8 #333FC8 #7233C8
triadic
#333FC8 #C8333F #3FC833
tetradic
#333FC8 #C8338A #C8BC33 #33C872
square
#333FC8 #C8338A #C8BC33 #33C872
split-complementary
#333FC8 #C87233 #8AC833
monochromatic
#1A2066 #273097 #333FC8 #616BD7 #9299E3

Accessibility & contrast

On white

7.82
#333FC8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#333FC8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333FC8
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333FC8#FFFFFF#000000##FFFFFF
##333FC81.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CC
Deuteranopia (green-blind)
#004BC5
Tritanopia (blue-blind)
#00657E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #333fc8;
/* rgb */ color: rgb(51, 63, 200);
/* oklch */ color: oklch(45.6% 0.209 271.1);
Tailwind
colors: {
  custom: {
    50: '#8174da',
    500: '#333fc8',
    950: '#000000',
  },
}
SCSS
$custom: #333fc8;
$custom-light: #8174da;
$custom-dark: #000000;
JSON
{
  "hex": "#333fc8",
  "rgb": {
    "r": 51,
    "g": 63,
    "b": 200
  },
  "hsl": {
    "h": 235.168,
    "s": 59.363,
    "l": 49.216
  },
  "oklch": {
    "l": 0.45566,
    "c": 0.20872,
    "h": 271.1
  },
  "luminance": 0.08429
}

Semantic roles & 50–950 ramp

primary
#333FC8
secondary
#CEC989
accent
#D645E3
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #333FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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