#2733B1#2733B1

#2733B1 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.7% C 0.196 H 270.1°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#2733B1
RGBrgb(39, 51, 177)
HSLhsl(235, 64%, 42%)
HSVhsv(235, 78%, 69%)
CMYKcmyk(78%, 71.2%, 0%, 30.6%)
CIE-LABlab(29.34, 40.24, -67.66)
CIE-LCHlch(29.34, 78.72, 300.74°)
OKLaboklab(40.74% 0.0003 -0.1959)
OKLCHoklch(40.74% 0.196 270.1)
XYZxyz(9.9536, 5.9722, 42.2146)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2733B1 #B1A527
analogous
#2778B1 #2733B1 #6027B1
triadic
#2733B1 #B12733 #33B127
tetradic
#2733B1 #B12778 #B1A527 #27B160
square
#2733B1 #B12778 #B1A527 #27B160
split-complementary
#2733B1 #B16027 #78B127
monochromatic
#11164D #1C257F #2733B1 #404DD5 #727CE0

Accessibility & contrast

On white

9.57
#2733B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2733B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2733B1#FFFFFF#000000##FFFFFF
##2733B11.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB5
Deuteranopia (green-blind)
#003EAF
Tritanopia (blue-blind)
#00566E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2733b1;
/* rgb */ color: rgb(39, 51, 177);
/* oklch */ color: oklch(40.7% 0.196 270.1);
Tailwind
colors: {
  custom: {
    50: '#796bca',
    500: '#2733b1',
    950: '#000000',
  },
}
SCSS
$custom: #2733b1;
$custom-light: #796bca;
$custom-dark: #000000;
JSON
{
  "hex": "#2733b1",
  "rgb": {
    "r": 39,
    "g": 51,
    "b": 177
  },
  "hsl": {
    "h": 234.783,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40745,
    "c": 0.19592,
    "h": 270.1
  },
  "luminance": 0.05973
}

Semantic roles & 50–950 ramp

primary
#2733B1
secondary
#C7BF6D
accent
#D841E7
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2733B1

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

Preview Lab → · Contrast checker → · Palette generator →

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