#3334C5#3334C5

#3334C5 is a dark, highly saturated blue. Relative luminance 0.072; OKLCH L 43.6% C 0.216 H 272.6°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#3334C5
RGBrgb(51, 52, 197)
HSLhsl(240, 59%, 49%)
HSVhsv(240, 74%, 77%)
CMYKcmyk(74.1%, 73.6%, 0%, 22.7%)
CIE-LABlab(32.23, 47.49, -74.69)
CIE-LCHlch(32.23, 88.51, 302.45°)
OKLaboklab(43.6% 0.0098 -0.2161)
OKLCHoklch(43.6% 0.216 272.6)
XYZxyz(12.6679, 7.1897, 53.5326)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3334C5 #C5C433
analogous
#337DC5 #3334C5 #7B33C5
triadic
#3334C5 #C53334 #34C533
tetradic
#3334C5 #C5337D #C5C433 #33C57B
square
#3334C5 #C5337D #C5C433 #33C57B
split-complementary
#3334C5 #C57B33 #7DC533
monochromatic
#1A1A64 #262794 #3334C5 #5F60D6 #9091E2

Accessibility & contrast

On white

8.61
#3334C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#3334C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3334C5
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3334C5#FFFFFF#000000##FFFFFF
##3334C51.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C9
Deuteranopia (green-blind)
#0045C2
Tritanopia (blue-blind)
#005E7A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3334c5;
/* rgb */ color: rgb(51, 52, 197);
/* oklch */ color: oklch(43.6% 0.216 272.6);
Tailwind
colors: {
  custom: {
    50: '#826dd8',
    500: '#3334c5',
    950: '#000000',
  },
}
SCSS
$custom: #3334c5;
$custom-light: #826dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#3334c5",
  "rgb": {
    "r": 51,
    "g": 52,
    "b": 197
  },
  "hsl": {
    "h": 239.589,
    "s": 58.871,
    "l": 48.627
  },
  "oklch": {
    "l": 0.43596,
    "c": 0.21636,
    "h": 272.6
  },
  "luminance": 0.07191
}

Semantic roles & 50–950 ramp

primary
#3334C5
secondary
#CDCC87
accent
#E146E2
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #3334C5

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

Preview Lab → · Contrast checker → · Palette generator →

#3334C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva