#2733A1#2733A1

#2733A1 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.1% C 0.175 H 270.7°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#2733A1
RGBrgb(39, 51, 161)
HSLhsl(234, 61%, 39%)
HSVhsv(234, 76%, 63%)
CMYKcmyk(75.8%, 68.3%, 0%, 36.9%)
CIE-LABlab(27.77, 34.52, -60.63)
CIE-LCHlch(27.77, 69.76, 299.65°)
OKLaboklab(39.13% 0.002 -0.1754)
OKLCHoklch(39.13% 0.175 270.7)
XYZxyz(8.4514, 5.3713, 34.3027)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2733A1 #A19527
analogous
#2770A1 #2733A1 #5827A1
triadic
#2733A1 #A12733 #33A127
tetradic
#2733A1 #A12770 #A19527 #27A158
square
#2733A1 #A12770 #A19527 #27A158
split-complementary
#2733A1 #A15827 #70A127
monochromatic
#0F143E #1B2370 #2733A1 #3746CE #6873DA

Accessibility & contrast

On white

10.12
#2733A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2733A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2733A1#FFFFFF#000000##FFFFFF
##2733A11.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A4
Deuteranopia (green-blind)
#003C9F
Tritanopia (blue-blind)
#005165
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2733a1;
/* rgb */ color: rgb(39, 51, 161);
/* oklch */ color: oklch(39.1% 0.175 270.7);
Tailwind
colors: {
  custom: {
    50: '#756bbe',
    500: '#2733a1',
    950: '#000000',
  },
}
SCSS
$custom: #2733a1;
$custom-light: #756bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2733a1",
  "rgb": {
    "r": 39,
    "g": 51,
    "b": 161
  },
  "hsl": {
    "h": 234.098,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39131,
    "c": 0.17541,
    "h": 270.7
  },
  "luminance": 0.05372
}

Semantic roles & 50–950 ramp

primary
#2733A1
secondary
#C0B763
accent
#D444E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2733A1

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

Preview Lab → · Contrast checker → · Palette generator →

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