#333FBF#333FBF

#333FBF is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.7% C 0.197 H 271.4°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#333FBF
RGBrgb(51, 63, 191)
HSLhsl(235, 58%, 47%)
HSVhsv(235, 73%, 75%)
CMYKcmyk(73.3%, 67%, 0%, 25.1%)
CIE-LABlab(34.02, 38.95, -68.23)
CIE-LCHlch(34.02, 78.56, 299.72°)
OKLaboklab(44.71% 0.0048 -0.1973)
OKLCHoklch(44.71% 0.197 271.4)
XYZxyz(12.5435, 8.0191, 50.1669)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333FBF #BFB333
analogous
#3385BF #333FBF #6D33BF
triadic
#333FBF #BF333F #3FBF33
tetradic
#333FBF #BF3385 #BFB333 #33BF6D
square
#333FBF #BF3385 #BFB333 #33BF6D
split-complementary
#333FBF #BF6D33 #85BF33
monochromatic
#191F5E #262F8F #333FBF #5C66D3 #8C93E0

Accessibility & contrast

On white

8.06
#333FBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#333FBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333FBF
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333FBF#FFFFFF#000000##FFFFFF
##333FBF1.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C3
Deuteranopia (green-blind)
#0049BD
Tritanopia (blue-blind)
#006179
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #333fbf;
/* rgb */ color: rgb(51, 63, 191);
/* oklch */ color: oklch(44.7% 0.197 271.4);
Tailwind
colors: {
  custom: {
    50: '#7f74d3',
    500: '#333fbf',
    950: '#000000',
  },
}
SCSS
$custom: #333fbf;
$custom-light: #7f74d3;
$custom-dark: #000000;
JSON
{
  "hex": "#333fbf",
  "rgb": {
    "r": 51,
    "g": 63,
    "b": 191
  },
  "hsl": {
    "h": 234.857,
    "s": 57.851,
    "l": 47.451
  },
  "oklch": {
    "l": 0.44706,
    "c": 0.19737,
    "h": 271.4
  },
  "luminance": 0.0802
}

Semantic roles & 50–950 ramp

primary
#333FBF
secondary
#CBC483
accent
#D447E1
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #333FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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