#2734AE#2734AE

#2734AE is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.6% C 0.191 H 270.0°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#2734AE
RGBrgb(39, 52, 174)
HSLhsl(234, 63%, 42%)
HSVhsv(234, 78%, 68%)
CMYKcmyk(77.6%, 70.1%, 0%, 31.8%)
CIE-LABlab(29.27, 38.56, -65.99)
CIE-LCHlch(29.27, 76.43, 300.30°)
OKLaboklab(40.6% 0.0001 -0.1911)
OKLCHoklch(40.6% 0.191 270)
XYZxyz(9.7021, 5.9422, 40.6718)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2734AE #AEA127
analogous
#2778AE #2734AE #5E27AE
triadic
#2734AE #AE2734 #34AE27
tetradic
#2734AE #AE2778 #AEA127 #27AE5E
square
#2734AE #AE2778 #AEA127 #27AE5E
split-complementary
#2734AE #AE5E27 #78AE27
monochromatic
#11164A #1C257C #2734AE #3E4DD4 #707BDF

Accessibility & contrast

On white

9.60
#2734AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2734AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2734AE
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2734AE#FFFFFF#000000##FFFFFF
##2734AE1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB2
Deuteranopia (green-blind)
#003EAC
Tritanopia (blue-blind)
#00566D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2734ae;
/* rgb */ color: rgb(39, 52, 174);
/* oklch */ color: oklch(40.6% 0.191 270.0);
Tailwind
colors: {
  custom: {
    50: '#786cc7',
    500: '#2734ae',
    950: '#000000',
  },
}
SCSS
$custom: #2734ae;
$custom-light: #786cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2734ae",
  "rgb": {
    "r": 39,
    "g": 52,
    "b": 174
  },
  "hsl": {
    "h": 234.222,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.406,
    "c": 0.19106,
    "h": 270
  },
  "luminance": 0.05943
}

Semantic roles & 50–950 ramp

primary
#2734AE
secondary
#C6BD6B
accent
#D741E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2734AE

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

Preview Lab → · Contrast checker → · Palette generator →

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