#333FB3#333FB3

#333FB3 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.6% C 0.182 H 271.8°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#333FB3
RGBrgb(51, 63, 179)
HSLhsl(234, 56%, 45%)
HSVhsv(234, 72%, 70%)
CMYKcmyk(71.5%, 64.8%, 0%, 29.8%)
CIE-LABlab(32.95, 34.71, -62.91)
CIE-LCHlch(32.95, 71.85, 298.89°)
OKLaboklab(43.59% 0.0057 -0.1817)
OKLCHoklch(43.59% 0.182 271.8)
XYZxyz(11.2767, 7.5124, 43.4948)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333FB3 #B3A733
analogous
#337FB3 #333FB3 #6733B3
triadic
#333FB3 #B3333F #3FB333
tetradic
#333FB3 #B3337F #B3A733 #33B367
square
#333FB3 #B3337F #B3A733 #33B367
split-complementary
#333FB3 #B36733 #7FB333
monochromatic
#181D54 #252E83 #333FB3 #5560CE #848DDC

Accessibility & contrast

On white

8.39
#333FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#333FB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333FB3
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333FB3#FFFFFF#000000##FFFFFF
##333FB31.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B7
Deuteranopia (green-blind)
#0048B1
Tritanopia (blue-blind)
#005D73
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #333fb3;
/* rgb */ color: rgb(51, 63, 179);
/* oklch */ color: oklch(43.6% 0.182 271.8);
Tailwind
colors: {
  custom: {
    50: '#7d74cb',
    500: '#333fb3',
    950: '#000000',
  },
}
SCSS
$custom: #333fb3;
$custom-light: #7d74cb;
$custom-dark: #000000;
JSON
{
  "hex": "#333fb3",
  "rgb": {
    "r": 51,
    "g": 63,
    "b": 179
  },
  "hsl": {
    "h": 234.375,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.43591,
    "c": 0.18183,
    "h": 271.8
  },
  "luminance": 0.07513
}

Semantic roles & 50–950 ramp

primary
#333FB3
secondary
#C6BF7C
accent
#D149DF
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #333FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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