#333FBB#333FBB

#333FBB is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.3% C 0.192 H 271.5°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#333FBB
RGBrgb(51, 63, 187)
HSLhsl(235, 57%, 47%)
HSVhsv(235, 73%, 73%)
CMYKcmyk(72.7%, 66.3%, 0%, 26.7%)
CIE-LABlab(33.66, 37.55, -66.47)
CIE-LCHlch(33.66, 76.34, 299.46°)
OKLaboklab(44.33% 0.0051 -0.1922)
OKLCHoklch(44.33% 0.192 271.5)
XYZxyz(12.1094, 7.8454, 47.8802)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333FBB #BBAF33
analogous
#3383BB #333FBB #6B33BB
triadic
#333FBB #BB333F #3FBB33
tetradic
#333FBB #BB3383 #BBAF33 #33BB6B
square
#333FBB #BB3383 #BBAF33 #33BB6B
split-complementary
#333FBB #BB6B33 #83BB33
monochromatic
#191F5B #262F8B #333FBB #5964D2 #8991DF

Accessibility & contrast

On white

8.17
#333FBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#333FBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333FBB
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333FBB#FFFFFF#000000##FFFFFF
##333FBB1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BF
Deuteranopia (green-blind)
#0049B9
Tritanopia (blue-blind)
#006077
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #333fbb;
/* rgb */ color: rgb(51, 63, 187);
/* oklch */ color: oklch(44.3% 0.192 271.5);
Tailwind
colors: {
  custom: {
    50: '#7e74d1',
    500: '#333fbb',
    950: '#000000',
  },
}
SCSS
$custom: #333fbb;
$custom-light: #7e74d1;
$custom-dark: #000000;
JSON
{
  "hex": "#333fbb",
  "rgb": {
    "r": 51,
    "g": 63,
    "b": 187
  },
  "hsl": {
    "h": 234.706,
    "s": 57.143,
    "l": 46.667
  },
  "oklch": {
    "l": 0.44331,
    "c": 0.19224,
    "h": 271.5
  },
  "luminance": 0.07847
}

Semantic roles & 50–950 ramp

primary
#333FBB
secondary
#C9C381
accent
#D347E0
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #333FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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