#2734A1#2734A1

#2734A1 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.3% C 0.174 H 270.5°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#2734A1
RGBrgb(39, 52, 161)
HSLhsl(234, 61%, 39%)
HSVhsv(234, 76%, 63%)
CMYKcmyk(75.8%, 67.7%, 0%, 36.9%)
CIE-LABlab(28.01, 33.88, -60.23)
CIE-LCHlch(28.01, 69.11, 299.35°)
OKLaboklab(39.3% 0.0014 -0.1742)
OKLCHoklch(39.3% 0.174 270.5)
XYZxyz(8.4955, 5.4596, 34.3174)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2734A1 #A19427
analogous
#2771A1 #2734A1 #5727A1
triadic
#2734A1 #A12734 #34A127
tetradic
#2734A1 #A12771 #A19427 #27A157
square
#2734A1 #A12771 #A19427 #27A157
split-complementary
#2734A1 #A15727 #71A127
monochromatic
#0F143E #1B2470 #2734A1 #3747CE #6874DA

Accessibility & contrast

On white

10.04
#2734A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2734A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2734A1
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2734A1#FFFFFF#000000##FFFFFF
##2734A11.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A4
Deuteranopia (green-blind)
#003C9F
Tritanopia (blue-blind)
#005166
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2734a1;
/* rgb */ color: rgb(39, 52, 161);
/* oklch */ color: oklch(39.3% 0.174 270.5);
Tailwind
colors: {
  custom: {
    50: '#756bbe',
    500: '#2734a1',
    950: '#000000',
  },
}
SCSS
$custom: #2734a1;
$custom-light: #756bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2734a1",
  "rgb": {
    "r": 39,
    "g": 52,
    "b": 161
  },
  "hsl": {
    "h": 233.607,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39304,
    "c": 0.17426,
    "h": 270.5
  },
  "luminance": 0.05461
}

Semantic roles & 50–950 ramp

primary
#2734A1
secondary
#C0B763
accent
#D344E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2734A1

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

Preview Lab → · Contrast checker → · Palette generator →

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