#2733A5#2733A5

#2733A5 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.5% C 0.181 H 270.5°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#2733A5
RGBrgb(39, 51, 165)
HSLhsl(234, 62%, 40%)
HSVhsv(234, 76%, 65%)
CMYKcmyk(76.4%, 69.1%, 0%, 35.3%)
CIE-LABlab(28.15, 35.96, -62.41)
CIE-LCHlch(28.15, 72.03, 299.95°)
OKLaboklab(39.53% 0.0016 -0.1806)
OKLCHoklch(39.53% 0.181 270.5)
XYZxyz(8.8097, 5.5146, 36.1902)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2733A5 #A59927
analogous
#2772A5 #2733A5 #5A27A5
triadic
#2733A5 #A52733 #33A527
tetradic
#2733A5 #A52772 #A59927 #27A55A
square
#2733A5 #A52772 #A59927 #27A55A
split-complementary
#2733A5 #A55A27 #72A527
monochromatic
#101442 #1B2474 #2733A5 #3947D0 #6A75DC

Accessibility & contrast

On white

9.98
#2733A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2733A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2733A5#FFFFFF#000000##FFFFFF
##2733A51.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A8
Deuteranopia (green-blind)
#003CA3
Tritanopia (blue-blind)
#005268
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2733a5;
/* rgb */ color: rgb(39, 51, 165);
/* oklch */ color: oklch(39.5% 0.181 270.5);
Tailwind
colors: {
  custom: {
    50: '#766bc1',
    500: '#2733a5',
    950: '#000000',
  },
}
SCSS
$custom: #2733a5;
$custom-light: #766bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2733a5",
  "rgb": {
    "r": 39,
    "g": 51,
    "b": 165
  },
  "hsl": {
    "h": 234.286,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.39528,
    "c": 0.18063,
    "h": 270.5
  },
  "luminance": 0.05516
}

Semantic roles & 50–950 ramp

primary
#2733A5
secondary
#C2B966
accent
#D543E5
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2733A5

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

Preview Lab → · Contrast checker → · Palette generator →

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