#2734A6#2734A6

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

Color values

HEX#2734A6
RGBrgb(39, 52, 166)
HSLhsl(234, 62%, 40%)
HSVhsv(234, 77%, 65%)
CMYKcmyk(76.5%, 68.7%, 0%, 34.9%)
CIE-LABlab(28.48, 35.69, -62.47)
CIE-LCHlch(28.48, 71.95, 299.74°)
OKLaboklab(39.8% 0.001 -0.1808)
OKLCHoklch(39.8% 0.181 270.3)
XYZxyz(8.9453, 5.6395, 36.6861)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2734A6 #A69927
analogous
#2774A6 #2734A6 #5927A6
triadic
#2734A6 #A62734 #34A627
tetradic
#2734A6 #A62774 #A69927 #27A659
square
#2734A6 #A62774 #A69927 #27A659
split-complementary
#2734A6 #A65927 #74A627
monochromatic
#101543 #1B2474 #2734A6 #3A49D1 #6B77DC

Accessibility & contrast

On white

9.87
#2734A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2734A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2734A6
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2734A6#FFFFFF#000000##FFFFFF
##2734A61.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2734a6;
/* rgb */ color: rgb(39, 52, 166);
/* oklch */ color: oklch(39.8% 0.181 270.3);
Tailwind
colors: {
  custom: {
    50: '#766cc1',
    500: '#2734a6',
    950: '#000000',
  },
}
SCSS
$custom: #2734a6;
$custom-light: #766cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2734a6",
  "rgb": {
    "r": 39,
    "g": 52,
    "b": 166
  },
  "hsl": {
    "h": 233.858,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39797,
    "c": 0.18079,
    "h": 270.3
  },
  "luminance": 0.0564
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2734A6

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

Preview Lab → · Contrast checker → · Palette generator →

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