#333FB9#333FB9

#333FB9 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.1% C 0.190 H 271.6°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#333FB9
RGBrgb(51, 63, 185)
HSLhsl(235, 57%, 46%)
HSVhsv(235, 72%, 73%)
CMYKcmyk(72.4%, 65.9%, 0%, 27.5%)
CIE-LABlab(33.48, 36.84, -65.58)
CIE-LCHlch(33.48, 75.22, 299.32°)
OKLaboklab(44.14% 0.0053 -0.1896)
OKLCHoklch(44.14% 0.19 271.6)
XYZxyz(11.8967, 7.7604, 46.7605)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333FB9 #B9AD33
analogous
#3382B9 #333FB9 #6A33B9
triadic
#333FB9 #B9333F #3FB933
tetradic
#333FB9 #B93382 #B9AD33 #33B96A
square
#333FB9 #B93382 #B9AD33 #33B96A
split-complementary
#333FB9 #B96A33 #82B933
monochromatic
#191E59 #262F89 #333FB9 #5863D1 #8890DE

Accessibility & contrast

On white

8.23
#333FB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#333FB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333FB9
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333FB9#FFFFFF#000000##FFFFFF
##333FB91.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BD
Deuteranopia (green-blind)
#0048B7
Tritanopia (blue-blind)
#005F76
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #333fb9;
/* rgb */ color: rgb(51, 63, 185);
/* oklch */ color: oklch(44.1% 0.190 271.6);
Tailwind
colors: {
  custom: {
    50: '#7e74cf',
    500: '#333fb9',
    950: '#000000',
  },
}
SCSS
$custom: #333fb9;
$custom-light: #7e74cf;
$custom-dark: #000000;
JSON
{
  "hex": "#333fb9",
  "rgb": {
    "r": 51,
    "g": 63,
    "b": 185
  },
  "hsl": {
    "h": 234.627,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.44144,
    "c": 0.18965,
    "h": 271.6
  },
  "luminance": 0.07762
}

Semantic roles & 50–950 ramp

primary
#333FB9
secondary
#C8C280
accent
#D248E0
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #333FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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