#2734A5#2734A5

#2734A5 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.7% C 0.179 H 270.3°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#2734A5
RGBrgb(39, 52, 165)
HSLhsl(234, 62%, 40%)
HSVhsv(234, 76%, 65%)
CMYKcmyk(76.4%, 68.5%, 0%, 35.3%)
CIE-LABlab(28.39, 35.33, -62.03)
CIE-LCHlch(28.39, 71.38, 299.66°)
OKLaboklab(39.7% 0.0011 -0.1795)
OKLCHoklch(39.7% 0.179 270.3)
XYZxyz(8.8539, 5.6030, 36.2049)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2734A5 #A59827
analogous
#2773A5 #2734A5 #5927A5
triadic
#2734A5 #A52734 #34A527
tetradic
#2734A5 #A52773 #A59827 #27A559
square
#2734A5 #A52773 #A59827 #27A559
split-complementary
#2734A5 #A55927 #73A527
monochromatic
#101542 #1B2474 #2734A5 #3949D0 #6A76DC

Accessibility & contrast

On white

9.90
#2734A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2734A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2734A5
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2734A5#FFFFFF#000000##FFFFFF
##2734A51.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A8
Deuteranopia (green-blind)
#003DA3
Tritanopia (blue-blind)
#005368
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2734a5;
/* rgb */ color: rgb(39, 52, 165);
/* oklch */ color: oklch(39.7% 0.179 270.3);
Tailwind
colors: {
  custom: {
    50: '#766cc1',
    500: '#2734a5',
    950: '#000000',
  },
}
SCSS
$custom: #2734a5;
$custom-light: #766cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2734a5",
  "rgb": {
    "r": 39,
    "g": 52,
    "b": 165
  },
  "hsl": {
    "h": 233.81,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.39698,
    "c": 0.17949,
    "h": 270.3
  },
  "luminance": 0.05604
}

Semantic roles & 50–950 ramp

primary
#2734A5
secondary
#C2B966
accent
#D443E5
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2734A5

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

Preview Lab → · Contrast checker → · Palette generator →

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