#333FBC#333FBC

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

Color values

HEX#333FBC
RGBrgb(51, 63, 188)
HSLhsl(235, 57%, 47%)
HSVhsv(235, 73%, 74%)
CMYKcmyk(72.9%, 66.5%, 0%, 26.3%)
CIE-LABlab(33.75, 37.90, -66.91)
CIE-LCHlch(33.75, 76.90, 299.53°)
OKLaboklab(44.42% 0.005 -0.1935)
OKLCHoklch(44.42% 0.194 271.5)
XYZxyz(12.2168, 7.8884, 48.4460)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333FBC #BCB033
analogous
#3383BC #333FBC #6C33BC
triadic
#333FBC #BC333F #3FBC33
tetradic
#333FBC #BC3383 #BCB033 #33BC6C
square
#333FBC #BC3383 #BCB033 #33BC6C
split-complementary
#333FBC #BC6C33 #83BC33
monochromatic
#191F5C #262F8C #333FBC #5A65D2 #8A92DF

Accessibility & contrast

On white

8.15
#333FBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#333FBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333FBC
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333FBC#FFFFFF#000000##FFFFFF
##333FBC1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C0
Deuteranopia (green-blind)
#0049BA
Tritanopia (blue-blind)
#006078
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #333fbc;
/* rgb */ color: rgb(51, 63, 188);
/* oklch */ color: oklch(44.4% 0.194 271.5);
Tailwind
colors: {
  custom: {
    50: '#7f74d1',
    500: '#333fbc',
    950: '#000000',
  },
}
SCSS
$custom: #333fbc;
$custom-light: #7f74d1;
$custom-dark: #000000;
JSON
{
  "hex": "#333fbc",
  "rgb": {
    "r": 51,
    "g": 63,
    "b": 188
  },
  "hsl": {
    "h": 234.745,
    "s": 57.322,
    "l": 46.863
  },
  "oklch": {
    "l": 0.44424,
    "c": 0.19353,
    "h": 271.5
  },
  "luminance": 0.0789
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #333FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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