#333BC4#333BC4

#333BC4 is a dark, highly saturated blue. Relative luminance 0.078; OKLCH L 44.5% C 0.208 H 271.8°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#333BC4
RGBrgb(51, 59, 196)
HSLhsl(237, 59%, 48%)
HSVhsv(237, 74%, 77%)
CMYKcmyk(74%, 69.9%, 0%, 23.1%)
CIE-LABlab(33.60, 43.11, -71.86)
CIE-LCHlch(33.60, 83.80, 300.96°)
OKLaboklab(44.54% 0.0065 -0.2079)
OKLCHoklch(44.54% 0.208 271.8)
XYZxyz(12.8896, 7.8159, 53.0432)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333BC4 #C4BC33
analogous
#3383C4 #333BC4 #7433C4
triadic
#333BC4 #C4333B #3BC433
tetradic
#333BC4 #C43383 #C4BC33 #33C474
square
#333BC4 #C43383 #C4BC33 #33C474
split-complementary
#333BC4 #C47433 #83C433
monochromatic
#1A1E63 #262C93 #333BC4 #5F65D5 #8F94E2

Accessibility & contrast

On white

8.19
#333BC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #333BC4
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333BC4#FFFFFF#000000##FFFFFF
##333BC41.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C8
Deuteranopia (green-blind)
#0048C1
Tritanopia (blue-blind)
#00617B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #333bc4;
/* rgb */ color: rgb(51, 59, 196);
/* oklch */ color: oklch(44.5% 0.208 271.8);
Tailwind
colors: {
  custom: {
    50: '#8172d7',
    500: '#333bc4',
    950: '#000000',
  },
}
SCSS
$custom: #333bc4;
$custom-light: #8172d7;
$custom-dark: #000000;
JSON
{
  "hex": "#333bc4",
  "rgb": {
    "r": 51,
    "g": 59,
    "b": 196
  },
  "hsl": {
    "h": 236.69,
    "s": 58.704,
    "l": 48.431
  },
  "oklch": {
    "l": 0.4454,
    "c": 0.20802,
    "h": 271.8
  },
  "luminance": 0.07817
}

Semantic roles & 50–950 ramp

primary
#333BC4
secondary
#CDC986
accent
#D946E2
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #333BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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