#2733C4#2733C4

#2733C4 is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 42.7% C 0.219 H 269.4°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#2733C4
RGBrgb(39, 51, 196)
HSLhsl(235, 67%, 46%)
HSVhsv(235, 80%, 77%)
CMYKcmyk(80.1%, 74%, 0%, 23.1%)
CIE-LABlab(31.31, 46.79, -75.65)
CIE-LCHlch(31.31, 88.95, 301.73°)
OKLaboklab(42.74% -0.0022 -0.2192)
OKLCHoklch(42.74% 0.219 269.4)
XYZxyz(11.9809, 6.7831, 52.8917)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2733C4 #C4B827
analogous
#2781C4 #2733C4 #6927C4
triadic
#2733C4 #C42733 #33C427
tetradic
#2733C4 #C42781 #C4B827 #27C469
square
#2733C4 #C42781 #C4B827 #27C469
split-complementary
#2733C4 #C46927 #81C427
monochromatic
#13185E #1D2691 #2733C4 #4D58DC #8088E6

Accessibility & contrast

On white

8.91
#2733C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2733C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2733C4
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2733C4#FFFFFF#000000##FFFFFF
##2733C41.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C8
Deuteranopia (green-blind)
#0042C1
Tritanopia (blue-blind)
#005E79
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2733c4;
/* rgb */ color: rgb(39, 51, 196);
/* oklch */ color: oklch(42.7% 0.219 269.4);
Tailwind
colors: {
  custom: {
    50: '#7e6cd7',
    500: '#2733c4',
    950: '#000000',
  },
}
SCSS
$custom: #2733c4;
$custom-light: #7e6cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#2733c4",
  "rgb": {
    "r": 39,
    "g": 51,
    "b": 196
  },
  "hsl": {
    "h": 235.414,
    "s": 66.809,
    "l": 46.078
  },
  "oklch": {
    "l": 0.42737,
    "c": 0.21919,
    "h": 269.4
  },
  "luminance": 0.06785
}

Semantic roles & 50–950 ramp

primary
#2733C4
secondary
#CEC879
accent
#DD3EEA
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #2733C4

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

Preview Lab → · Contrast checker → · Palette generator →

#2733C4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva