#333AC0#333AC0

#333AC0 is a dark, highly saturated blue. Relative luminance 0.075; OKLCH L 44.0% C 0.204 H 272.1°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#333AC0
RGBrgb(51, 58, 192)
HSLhsl(237, 58%, 48%)
HSVhsv(237, 73%, 75%)
CMYKcmyk(73.4%, 69.8%, 0%, 24.7%)
CIE-LABlab(32.99, 42.34, -70.50)
CIE-LCHlch(32.99, 82.24, 300.98°)
OKLaboklab(43.99% 0.0075 -0.204)
OKLCHoklch(43.99% 0.204 272.1)
XYZxyz(12.3895, 7.5344, 50.6603)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333AC0 #C0B933
analogous
#3381C0 #333AC0 #7233C0
triadic
#333AC0 #C0333A #3AC033
tetradic
#333AC0 #C03381 #C0B933 #33C072
square
#333AC0 #C03381 #C0B933 #33C072
split-complementary
#333AC0 #C07233 #81C033
monochromatic
#191D5F #262B90 #333AC0 #5C62D4 #8D91E1

Accessibility & contrast

On white

8.38
#333AC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#333AC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333AC0
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333AC0#FFFFFF#000000##FFFFFF
##333AC01.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C4
Deuteranopia (green-blind)
#0047BE
Tritanopia (blue-blind)
#005F79
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #333ac0;
/* rgb */ color: rgb(51, 58, 192);
/* oklch */ color: oklch(44.0% 0.204 272.1);
Tailwind
colors: {
  custom: {
    50: '#8071d4',
    500: '#333ac0',
    950: '#000000',
  },
}
SCSS
$custom: #333ac0;
$custom-light: #8071d4;
$custom-dark: #000000;
JSON
{
  "hex": "#333ac0",
  "rgb": {
    "r": 51,
    "g": 58,
    "b": 192
  },
  "hsl": {
    "h": 237.021,
    "s": 58.025,
    "l": 47.647
  },
  "oklch": {
    "l": 0.4399,
    "c": 0.20411,
    "h": 272.1
  },
  "luminance": 0.07536
}

Semantic roles & 50–950 ramp

primary
#333AC0
secondary
#CBC784
accent
#DA47E1
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #333AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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