#2734AD#2734AD

#2734AD is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.5% C 0.190 H 270.1°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#2734AD
RGBrgb(39, 52, 173)
HSLhsl(234, 63%, 42%)
HSVhsv(234, 77%, 68%)
CMYKcmyk(77.5%, 69.9%, 0%, 32.2%)
CIE-LABlab(29.17, 38.20, -65.56)
CIE-LCHlch(29.17, 75.88, 300.23°)
OKLaboklab(40.5% 0.0003 -0.1898)
OKLCHoklch(40.5% 0.19 270.1)
XYZxyz(9.6049, 5.9034, 40.1603)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2734AD #ADA027
analogous
#2777AD #2734AD #5D27AD
triadic
#2734AD #AD2734 #34AD27
tetradic
#2734AD #AD2777 #ADA027 #27AD5D
square
#2734AD #AD2777 #ADA027 #27AD5D
split-complementary
#2734AD #AD5D27 #77AD27
monochromatic
#101649 #1C257B #2734AD #3E4CD3 #707ADF

Accessibility & contrast

On white

9.63
#2734AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2734AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2734AD
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2734AD#FFFFFF#000000##FFFFFF
##2734AD1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB1
Deuteranopia (green-blind)
#003EAB
Tritanopia (blue-blind)
#00566C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2734ad;
/* rgb */ color: rgb(39, 52, 173);
/* oklch */ color: oklch(40.5% 0.190 270.1);
Tailwind
colors: {
  custom: {
    50: '#786cc7',
    500: '#2734ad',
    950: '#000000',
  },
}
SCSS
$custom: #2734ad;
$custom-light: #786cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2734ad",
  "rgb": {
    "r": 39,
    "g": 52,
    "b": 173
  },
  "hsl": {
    "h": 234.179,
    "s": 63.208,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40499,
    "c": 0.18979,
    "h": 270.1
  },
  "luminance": 0.05904
}

Semantic roles & 50–950 ramp

primary
#2734AD
secondary
#C6BD6A
accent
#D642E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2734AD

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

Preview Lab → · Contrast checker → · Palette generator →

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