#2734A2#2734A2

#2734A2 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.4% C 0.176 H 270.4°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#2734A2
RGBrgb(39, 52, 162)
HSLhsl(234, 61%, 39%)
HSVhsv(234, 76%, 64%)
CMYKcmyk(75.9%, 67.9%, 0%, 36.5%)
CIE-LABlab(28.10, 34.24, -60.69)
CIE-LCHlch(28.10, 69.68, 299.43°)
OKLaboklab(39.4% 0.0013 -0.1756)
OKLCHoklch(39.4% 0.176 270.4)
XYZxyz(8.5841, 5.4950, 34.7837)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2734A2 #A29527
analogous
#2771A2 #2734A2 #5827A2
triadic
#2734A2 #A22734 #34A227
tetradic
#2734A2 #A22771 #A29527 #27A258
square
#2734A2 #A22771 #A29527 #27A258
split-complementary
#2734A2 #A25827 #71A227
monochromatic
#0F143F #1B2471 #2734A2 #3747CF #6975DB

Accessibility & contrast

On white

10.00
#2734A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2734A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2734A2
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2734A2#FFFFFF#000000##FFFFFF
##2734A21.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A5
Deuteranopia (green-blind)
#003CA0
Tritanopia (blue-blind)
#005266
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2734a2;
/* rgb */ color: rgb(39, 52, 162);
/* oklch */ color: oklch(39.4% 0.176 270.4);
Tailwind
colors: {
  custom: {
    50: '#756bbf',
    500: '#2734a2',
    950: '#000000',
  },
}
SCSS
$custom: #2734a2;
$custom-light: #756bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2734a2",
  "rgb": {
    "r": 39,
    "g": 52,
    "b": 162
  },
  "hsl": {
    "h": 233.659,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39402,
    "c": 0.17557,
    "h": 270.4
  },
  "luminance": 0.05496
}

Semantic roles & 50–950 ramp

primary
#2734A2
secondary
#C1B764
accent
#D343E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2734A2

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

Preview Lab → · Contrast checker → · Palette generator →

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