#333DBF#333DBF

#333DBF is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.4% C 0.200 H 271.7°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#333DBF
RGBrgb(51, 61, 191)
HSLhsl(236, 58%, 47%)
HSVhsv(236, 73%, 75%)
CMYKcmyk(73.3%, 68.1%, 0%, 25.1%)
CIE-LABlab(33.57, 40.18, -68.98)
CIE-LCHlch(33.57, 79.82, 300.22°)
OKLaboklab(44.38% 0.006 -0.1995)
OKLCHoklch(44.38% 0.2 271.7)
XYZxyz(12.4348, 7.8016, 50.1306)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333DBF #BFB533
analogous
#3383BF #333DBF #6F33BF
triadic
#333DBF #BF333D #3DBF33
tetradic
#333DBF #BF3383 #BFB533 #33BF6F
square
#333DBF #BF3383 #BFB533 #33BF6F
split-complementary
#333DBF #BF6F33 #83BF33
monochromatic
#191E5E #262E8F #333DBF #5C64D3 #8C92E0

Accessibility & contrast

On white

8.20
#333DBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#333DBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333DBF
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333DBF#FFFFFF#000000##FFFFFF
##333DBF1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C3
Deuteranopia (green-blind)
#0048BD
Tritanopia (blue-blind)
#006079
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #333dbf;
/* rgb */ color: rgb(51, 61, 191);
/* oklch */ color: oklch(44.4% 0.200 271.7);
Tailwind
colors: {
  custom: {
    50: '#8073d3',
    500: '#333dbf',
    950: '#000000',
  },
}
SCSS
$custom: #333dbf;
$custom-light: #8073d3;
$custom-dark: #000000;
JSON
{
  "hex": "#333dbf",
  "rgb": {
    "r": 51,
    "g": 61,
    "b": 191
  },
  "hsl": {
    "h": 235.714,
    "s": 57.851,
    "l": 47.451
  },
  "oklch": {
    "l": 0.44375,
    "c": 0.19959,
    "h": 271.7
  },
  "luminance": 0.07803
}

Semantic roles & 50–950 ramp

primary
#333DBF
secondary
#CBC583
accent
#D647E1
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #333DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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