#333FBD#333FBD

#333FBD is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.5% C 0.195 H 271.5°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#333FBD
RGBrgb(51, 63, 189)
HSLhsl(235, 58%, 47%)
HSVhsv(235, 73%, 74%)
CMYKcmyk(73%, 66.7%, 0%, 25.9%)
CIE-LABlab(33.84, 38.25, -67.35)
CIE-LCHlch(33.84, 77.45, 299.59°)
OKLaboklab(44.52% 0.0049 -0.1947)
OKLCHoklch(44.52% 0.195 271.5)
XYZxyz(12.3249, 7.9317, 49.0157)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333FBD #BDB133
analogous
#3384BD #333FBD #6C33BD
triadic
#333FBD #BD333F #3FBD33
tetradic
#333FBD #BD3384 #BDB133 #33BD6C
square
#333FBD #BD3384 #BDB133 #33BD6C
split-complementary
#333FBD #BD6C33 #84BD33
monochromatic
#191F5D #262F8D #333FBD #5B65D3 #8B92E0

Accessibility & contrast

On white

8.12
#333FBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#333FBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333FBD
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333FBD#FFFFFF#000000##FFFFFF
##333FBD1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C1
Deuteranopia (green-blind)
#0049BB
Tritanopia (blue-blind)
#006178
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #333fbd;
/* rgb */ color: rgb(51, 63, 189);
/* oklch */ color: oklch(44.5% 0.195 271.5);
Tailwind
colors: {
  custom: {
    50: '#7f74d2',
    500: '#333fbd',
    950: '#000000',
  },
}
SCSS
$custom: #333fbd;
$custom-light: #7f74d2;
$custom-dark: #000000;
JSON
{
  "hex": "#333fbd",
  "rgb": {
    "r": 51,
    "g": 63,
    "b": 189
  },
  "hsl": {
    "h": 234.783,
    "s": 57.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.44518,
    "c": 0.1948,
    "h": 271.5
  },
  "luminance": 0.07933
}

Semantic roles & 50–950 ramp

primary
#333FBD
secondary
#CAC482
accent
#D347E1
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #333FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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