#333FB6#333FB6

#333FB6 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.9% C 0.186 H 271.7°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#333FB6
RGBrgb(51, 63, 182)
HSLhsl(235, 56%, 46%)
HSVhsv(235, 72%, 71%)
CMYKcmyk(72%, 65.4%, 0%, 28.6%)
CIE-LABlab(33.21, 35.78, -64.25)
CIE-LCHlch(33.21, 73.54, 299.11°)
OKLaboklab(43.87% 0.0055 -0.1857)
OKLCHoklch(43.87% 0.186 271.7)
XYZxyz(11.5834, 7.6351, 45.1102)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333FB6 #B6AA33
analogous
#3380B6 #333FB6 #6833B6
triadic
#333FB6 #B6333F #3FB633
tetradic
#333FB6 #B63380 #B6AA33 #33B668
square
#333FB6 #B63380 #B6AA33 #33B668
split-complementary
#333FB6 #B66833 #80B633
monochromatic
#181E56 #262E86 #333FB6 #5662D0 #868EDD

Accessibility & contrast

On white

8.31
#333FB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#333FB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333FB6
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333FB6#FFFFFF#000000##FFFFFF
##333FB61.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BA
Deuteranopia (green-blind)
#0048B4
Tritanopia (blue-blind)
#005E75
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #333fb6;
/* rgb */ color: rgb(51, 63, 182);
/* oklch */ color: oklch(43.9% 0.186 271.7);
Tailwind
colors: {
  custom: {
    50: '#7d74cd',
    500: '#333fb6',
    950: '#000000',
  },
}
SCSS
$custom: #333fb6;
$custom-light: #7d74cd;
$custom-dark: #000000;
JSON
{
  "hex": "#333fb6",
  "rgb": {
    "r": 51,
    "g": 63,
    "b": 182
  },
  "hsl": {
    "h": 234.504,
    "s": 56.223,
    "l": 45.686
  },
  "oklch": {
    "l": 0.43866,
    "c": 0.18575,
    "h": 271.7
  },
  "luminance": 0.07636
}

Semantic roles & 50–950 ramp

primary
#333FB6
secondary
#C7C07E
accent
#D248E0
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #333FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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