#2733AE#2733AE

#2733AE is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.4% C 0.192 H 270.2°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#2733AE
RGBrgb(39, 51, 174)
HSLhsl(235, 63%, 42%)
HSVhsv(235, 78%, 68%)
CMYKcmyk(77.6%, 70.7%, 0%, 31.8%)
CIE-LABlab(29.04, 39.18, -66.36)
CIE-LCHlch(29.04, 77.06, 300.56°)
OKLaboklab(40.44% 0.0006 -0.1921)
OKLCHoklch(40.44% 0.192 270.2)
XYZxyz(9.6579, 5.8539, 40.6571)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2733AE #AEA227
analogous
#2777AE #2733AE #5F27AE
triadic
#2733AE #AE2733 #33AE27
tetradic
#2733AE #AE2777 #AEA227 #27AE5F
square
#2733AE #AE2777 #AEA227 #27AE5F
split-complementary
#2733AE #AE5F27 #77AE27
monochromatic
#11164A #1C247C #2733AE #3E4CD4 #707ADF

Accessibility & contrast

On white

9.67
#2733AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2733AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2733AE#FFFFFF#000000##FFFFFF
##2733AE1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB2
Deuteranopia (green-blind)
#003EAC
Tritanopia (blue-blind)
#00556D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2733ae;
/* rgb */ color: rgb(39, 51, 174);
/* oklch */ color: oklch(40.4% 0.192 270.2);
Tailwind
colors: {
  custom: {
    50: '#786bc7',
    500: '#2733ae',
    950: '#000000',
  },
}
SCSS
$custom: #2733ae;
$custom-light: #786bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2733ae",
  "rgb": {
    "r": 39,
    "g": 51,
    "b": 174
  },
  "hsl": {
    "h": 234.667,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40437,
    "c": 0.19214,
    "h": 270.2
  },
  "luminance": 0.05855
}

Semantic roles & 50–950 ramp

primary
#2733AE
secondary
#C6BE6B
accent
#D841E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2733AE

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

Preview Lab → · Contrast checker → · Palette generator →

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