#333FB0#333FB0

#333FB0 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.3% C 0.178 H 271.9°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#333FB0
RGBrgb(51, 63, 176)
HSLhsl(234, 55%, 45%)
HSVhsv(234, 71%, 69%)
CMYKcmyk(71%, 64.2%, 0%, 31%)
CIE-LABlab(32.68, 33.65, -61.55)
CIE-LCHlch(32.68, 70.15, 298.66°)
OKLaboklab(43.32% 0.0059 -0.1778)
OKLCHoklch(43.32% 0.178 271.9)
XYZxyz(10.9766, 7.3923, 41.9143)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333FB0 #B0A433
analogous
#337EB0 #333FB0 #6633B0
triadic
#333FB0 #B0333F #3FB033
tetradic
#333FB0 #B0337E #B0A433 #33B066
square
#333FB0 #B0337E #B0A433 #33B066
split-complementary
#333FB0 #B06633 #7EB033
monochromatic
#181D51 #252E81 #333FB0 #535FCD #828BDB

Accessibility & contrast

On white

8.47
#333FB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#333FB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333FB0
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333FB0#FFFFFF#000000##FFFFFF
##333FB01.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B4
Deuteranopia (green-blind)
#0047AE
Tritanopia (blue-blind)
#005C71
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #333fb0;
/* rgb */ color: rgb(51, 63, 176);
/* oklch */ color: oklch(43.3% 0.178 271.9);
Tailwind
colors: {
  custom: {
    50: '#7c74c9',
    500: '#333fb0',
    950: '#000000',
  },
}
SCSS
$custom: #333fb0;
$custom-light: #7c74c9;
$custom-dark: #000000;
JSON
{
  "hex": "#333fb0",
  "rgb": {
    "r": 51,
    "g": 63,
    "b": 176
  },
  "hsl": {
    "h": 234.24,
    "s": 55.066,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43318,
    "c": 0.17787,
    "h": 271.9
  },
  "luminance": 0.07393
}

Semantic roles & 50–950 ramp

primary
#333FB0
secondary
#C4BD7B
accent
#D049DE
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #333FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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