#333AC4#333AC4

#333AC4 is a dark, highly saturated blue. Relative luminance 0.077; OKLCH L 44.4% C 0.209 H 271.9°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#333AC4
RGBrgb(51, 58, 196)
HSLhsl(237, 59%, 48%)
HSVhsv(237, 74%, 77%)
CMYKcmyk(74%, 70.4%, 0%, 23.1%)
CIE-LABlab(33.38, 43.70, -72.21)
CIE-LCHlch(33.38, 84.41, 301.18°)
OKLaboklab(44.39% 0.007 -0.209)
OKLCHoklch(44.39% 0.209 271.9)
XYZxyz(12.8387, 7.7141, 53.0262)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333AC4 #C4BD33
analogous
#3383C4 #333AC4 #7433C4
triadic
#333AC4 #C4333A #3AC433
tetradic
#333AC4 #C43383 #C4BD33 #33C474
square
#333AC4 #C43383 #C4BD33 #33C474
split-complementary
#333AC4 #C47433 #83C433
monochromatic
#1A1D63 #262C93 #333AC4 #5F65D5 #8F93E2

Accessibility & contrast

On white

8.26
#333AC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#333AC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333AC4
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333AC4#FFFFFF#000000##FFFFFF
##333AC41.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C8
Deuteranopia (green-blind)
#0047C1
Tritanopia (blue-blind)
#00617B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #333ac4;
/* rgb */ color: rgb(51, 58, 196);
/* oklch */ color: oklch(44.4% 0.209 271.9);
Tailwind
colors: {
  custom: {
    50: '#8171d7',
    500: '#333ac4',
    950: '#000000',
  },
}
SCSS
$custom: #333ac4;
$custom-light: #8171d7;
$custom-dark: #000000;
JSON
{
  "hex": "#333ac4",
  "rgb": {
    "r": 51,
    "g": 58,
    "b": 196
  },
  "hsl": {
    "h": 237.103,
    "s": 58.704,
    "l": 48.431
  },
  "oklch": {
    "l": 0.44385,
    "c": 0.20908,
    "h": 271.9
  },
  "luminance": 0.07715
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #333AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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