#2734B1#2734B1

#2734B1 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.9% C 0.195 H 269.9°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#2734B1
RGBrgb(39, 52, 177)
HSLhsl(234, 64%, 42%)
HSVhsv(234, 78%, 69%)
CMYKcmyk(78%, 70.6%, 0%, 30.6%)
CIE-LABlab(29.56, 39.63, -67.29)
CIE-LCHlch(29.56, 78.09, 300.49°)
OKLaboklab(40.91% -0.0002 -0.1949)
OKLCHoklch(40.91% 0.195 269.9)
XYZxyz(9.9978, 6.0605, 42.2293)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2734B1 #B1A427
analogous
#2779B1 #2734B1 #5F27B1
triadic
#2734B1 #B12734 #34B127
tetradic
#2734B1 #B12779 #B1A427 #27B15F
square
#2734B1 #B12779 #B1A427 #27B15F
split-complementary
#2734B1 #B15F27 #79B127
monochromatic
#11174D #1C257F #2734B1 #404ED5 #727DE0

Accessibility & contrast

On white

9.49
#2734B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2734B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2734B1
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2734B1#FFFFFF#000000##FFFFFF
##2734B11.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB5
Deuteranopia (green-blind)
#003FAF
Tritanopia (blue-blind)
#00576F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2734b1;
/* rgb */ color: rgb(39, 52, 177);
/* oklch */ color: oklch(40.9% 0.195 269.9);
Tailwind
colors: {
  custom: {
    50: '#796cc9',
    500: '#2734b1',
    950: '#000000',
  },
}
SCSS
$custom: #2734b1;
$custom-light: #796cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2734b1",
  "rgb": {
    "r": 39,
    "g": 52,
    "b": 177
  },
  "hsl": {
    "h": 234.348,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40905,
    "c": 0.19486,
    "h": 269.9
  },
  "luminance": 0.06062
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2734B1

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

Preview Lab → · Contrast checker → · Palette generator →

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