#2734A0#2734A0

#2734A0 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.2% C 0.173 H 270.5°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#2734A0
RGBrgb(39, 52, 160)
HSLhsl(234, 61%, 39%)
HSVhsv(234, 76%, 63%)
CMYKcmyk(75.6%, 67.5%, 0%, 37.3%)
CIE-LABlab(27.91, 33.51, -59.78)
CIE-LCHlch(27.91, 68.53, 299.27°)
OKLaboklab(39.21% 0.0015 -0.1729)
OKLCHoklch(39.21% 0.173 270.5)
XYZxyz(8.4077, 5.4245, 33.8548)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2734A0 #A09327
analogous
#2771A0 #2734A0 #5727A0
triadic
#2734A0 #A02734 #34A027
tetradic
#2734A0 #A02771 #A09327 #27A057
square
#2734A0 #A02771 #A09327 #27A057
split-complementary
#2734A0 #A05727 #71A027
monochromatic
#0F143E #1B246F #2734A0 #3646CE #6774DA

Accessibility & contrast

On white

10.07
#2734A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2734A0
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2734A0#FFFFFF#000000##FFFFFF
##2734A01.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A3
Deuteranopia (green-blind)
#003C9E
Tritanopia (blue-blind)
#005165
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2734a0;
/* rgb */ color: rgb(39, 52, 160);
/* oklch */ color: oklch(39.2% 0.173 270.5);
Tailwind
colors: {
  custom: {
    50: '#756bbd',
    500: '#2734a0',
    950: '#000000',
  },
}
SCSS
$custom: #2734a0;
$custom-light: #756bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2734a0",
  "rgb": {
    "r": 39,
    "g": 52,
    "b": 160
  },
  "hsl": {
    "h": 233.554,
    "s": 60.804,
    "l": 39.02
  },
  "oklch": {
    "l": 0.39207,
    "c": 0.17295,
    "h": 270.5
  },
  "luminance": 0.05425
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2734A0

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

Preview Lab → · Contrast checker → · Palette generator →

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