#3333CA#3333CA

#3333CA is a dark, highly saturated blue. Relative luminance 0.073; OKLCH L 44.0% C 0.223 H 272.4°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#3333CA
RGBrgb(51, 51, 202)
HSLhsl(240, 60%, 50%)
HSVhsv(240, 75%, 79%)
CMYKcmyk(74.8%, 74.8%, 0%, 20.8%)
CIE-LABlab(32.56, 49.68, -77.08)
CIE-LCHlch(32.56, 91.70, 302.80°)
OKLaboklab(43.98% 0.0093 -0.2231)
OKLCHoklch(43.98% 0.223 272.4)
XYZxyz(13.2062, 7.3343, 56.5853)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3333CA #CACA33
analogous
#337FCA #3333CA #7F33CA
triadic
#3333CA #CA3333 #33CA33
tetradic
#3333CA #CA337F #CACA33 #33CA7F
square
#3333CA #CA337F #CACA33 #33CA7F
split-complementary
#3333CA #CA7F33 #7FCA33
monochromatic
#1A1A68 #272799 #3333CA #6363D8 #9494E4

Accessibility & contrast

On white

8.51
#3333CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#3333CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3333CA
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3333CA#FFFFFF#000000##FFFFFF
##3333CA1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054CE
Deuteranopia (green-blind)
#0045C7
Tritanopia (blue-blind)
#005F7C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3333ca;
/* rgb */ color: rgb(51, 51, 202);
/* oklch */ color: oklch(44.0% 0.223 272.4);
Tailwind
colors: {
  custom: {
    50: '#836ddc',
    500: '#3333ca',
    950: '#000000',
  },
}
SCSS
$custom: #3333ca;
$custom-light: #836ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#3333ca",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 202
  },
  "hsl": {
    "h": 240,
    "s": 59.684,
    "l": 49.608
  },
  "oklch": {
    "l": 0.43977,
    "c": 0.22329,
    "h": 272.4
  },
  "luminance": 0.07336
}

Semantic roles & 50–950 ramp

primary
#3333CA
secondary
#CFCF8A
accent
#E345E3
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0D0715
muted
#7D7A83

Preview Lab

Preview with #3333CA

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

Preview Lab → · Contrast checker → · Palette generator →

#3333CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva