#2733AA#2733AA

#2733AA is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.0% C 0.187 H 270.3°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#2733AA
RGBrgb(39, 51, 170)
HSLhsl(235, 63%, 41%)
HSVhsv(235, 77%, 67%)
CMYKcmyk(77.1%, 70%, 0%, 33.3%)
CIE-LABlab(28.64, 37.76, -64.62)
CIE-LCHlch(28.64, 74.84, 300.30°)
OKLaboklab(40.03% 0.0011 -0.1871)
OKLCHoklch(40.03% 0.187 270.3)
XYZxyz(9.2737, 5.7003, 38.6339)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2733AA #AA9E27
analogous
#2774AA #2733AA #5C27AA
triadic
#2733AA #AA2733 #33AA27
tetradic
#2733AA #AA2774 #AA9E27 #27AA5C
square
#2733AA #AA2774 #AA9E27 #27AA5C
split-complementary
#2733AA #AA5C27 #74AA27
monochromatic
#101546 #1C2478 #2733AA #3C4AD2 #6E78DE

Accessibility & contrast

On white

9.81
#2733AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2733AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2733AA#FFFFFF#000000##FFFFFF
##2733AA1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAE
Deuteranopia (green-blind)
#003DA8
Tritanopia (blue-blind)
#00546A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2733aa;
/* rgb */ color: rgb(39, 51, 170);
/* oklch */ color: oklch(40.0% 0.187 270.3);
Tailwind
colors: {
  custom: {
    50: '#776bc4',
    500: '#2733aa',
    950: '#000000',
  },
}
SCSS
$custom: #2733aa;
$custom-light: #776bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2733aa",
  "rgb": {
    "r": 39,
    "g": 51,
    "b": 170
  },
  "hsl": {
    "h": 234.504,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40031,
    "c": 0.18706,
    "h": 270.3
  },
  "luminance": 0.05701
}

Semantic roles & 50–950 ramp

primary
#2733AA
secondary
#C4BC69
accent
#D742E6
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2733AA

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

Preview Lab → · Contrast checker → · Palette generator →

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