#2733A3#2733A3

#2733A3 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.3% C 0.178 H 270.6°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#2733A3
RGBrgb(39, 51, 163)
HSLhsl(234, 61%, 40%)
HSVhsv(234, 76%, 64%)
CMYKcmyk(76.1%, 68.7%, 0%, 36.1%)
CIE-LABlab(27.96, 35.24, -61.52)
CIE-LCHlch(27.96, 70.90, 299.80°)
OKLaboklab(39.33% 0.0018 -0.178)
OKLCHoklch(39.33% 0.178 270.6)
XYZxyz(8.6291, 5.4424, 35.2389)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2733A3 #A39727
analogous
#2771A3 #2733A3 #5927A3
triadic
#2733A3 #A32733 #33A327
tetradic
#2733A3 #A32771 #A39727 #27A359
square
#2733A3 #A32771 #A39727 #27A359
split-complementary
#2733A3 #A35927 #71A327
monochromatic
#0F1440 #1B2472 #2733A3 #3847CF #6974DB

Accessibility & contrast

On white

10.05
#2733A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2733A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2733A3#FFFFFF#000000##FFFFFF
##2733A31.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A6
Deuteranopia (green-blind)
#003CA1
Tritanopia (blue-blind)
#005167
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2733a3;
/* rgb */ color: rgb(39, 51, 163);
/* oklch */ color: oklch(39.3% 0.178 270.6);
Tailwind
colors: {
  custom: {
    50: '#756bbf',
    500: '#2733a3',
    950: '#000000',
  },
}
SCSS
$custom: #2733a3;
$custom-light: #756bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2733a3",
  "rgb": {
    "r": 39,
    "g": 51,
    "b": 163
  },
  "hsl": {
    "h": 234.194,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39329,
    "c": 0.17803,
    "h": 270.6
  },
  "luminance": 0.05443
}

Semantic roles & 50–950 ramp

primary
#2733A3
secondary
#C1B864
accent
#D543E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2733A3

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

Preview Lab → · Contrast checker → · Palette generator →

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