#2734C4#2734C4

#2734C4 is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 42.9% C 0.218 H 269.3°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#2734C4
RGBrgb(39, 52, 196)
HSLhsl(235, 67%, 46%)
HSVhsv(235, 80%, 77%)
CMYKcmyk(80.1%, 73.5%, 0%, 23.1%)
CIE-LABlab(31.51, 46.21, -75.32)
CIE-LCHlch(31.51, 88.36, 301.53°)
OKLaboklab(42.88% -0.0026 -0.2182)
OKLCHoklch(42.88% 0.218 269.3)
XYZxyz(12.0251, 6.8714, 52.9064)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2734C4 #C4B727
analogous
#2782C4 #2734C4 #6827C4
triadic
#2734C4 #C42734 #34C427
tetradic
#2734C4 #C42782 #C4B727 #27C468
square
#2734C4 #C42782 #C4B727 #27C468
split-complementary
#2734C4 #C46827 #82C427
monochromatic
#13195E #1D2691 #2734C4 #4D59DC #8088E6

Accessibility & contrast

On white

8.84
#2734C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2734C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2734C4
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2734C4#FFFFFF#000000##FFFFFF
##2734C41.008.842.378.84
#FFFFFF8.841.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C8
Deuteranopia (green-blind)
#0042C1
Tritanopia (blue-blind)
#005E79
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2734c4;
/* rgb */ color: rgb(39, 52, 196);
/* oklch */ color: oklch(42.9% 0.218 269.3);
Tailwind
colors: {
  custom: {
    50: '#7e6dd7',
    500: '#2734c4',
    950: '#000000',
  },
}
SCSS
$custom: #2734c4;
$custom-light: #7e6dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#2734c4",
  "rgb": {
    "r": 39,
    "g": 52,
    "b": 196
  },
  "hsl": {
    "h": 235.032,
    "s": 66.809,
    "l": 46.078
  },
  "oklch": {
    "l": 0.42883,
    "c": 0.21822,
    "h": 269.3
  },
  "luminance": 0.06873
}

Semantic roles & 50–950 ramp

primary
#2734C4
secondary
#CEC779
accent
#DC3EEA
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #2734C4

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

Preview Lab → · Contrast checker → · Palette generator →

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