#2734B0#2734B0

#2734B0 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.8% C 0.194 H 270.0°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#2734B0
RGBrgb(39, 52, 176)
HSLhsl(234, 64%, 42%)
HSVhsv(234, 78%, 69%)
CMYKcmyk(77.8%, 70.5%, 0%, 31%)
CIE-LABlab(29.46, 39.27, -66.86)
CIE-LCHlch(29.46, 77.54, 300.43°)
OKLaboklab(40.8% -0.0001 -0.1936)
OKLCHoklch(40.8% 0.194 270)
XYZxyz(9.8985, 6.0208, 41.7063)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2734B0 #B0A327
analogous
#2778B0 #2734B0 #5F27B0
triadic
#2734B0 #B02734 #34B027
tetradic
#2734B0 #B02778 #B0A327 #27B05F
square
#2734B0 #B02778 #B0A327 #27B05F
split-complementary
#2734B0 #B05F27 #78B027
monochromatic
#11164C #1C257E #2734B0 #404ED5 #727CE0

Accessibility & contrast

On white

9.53
#2734B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2734B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2734B0
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2734B0#FFFFFF#000000##FFFFFF
##2734B01.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB4
Deuteranopia (green-blind)
#003FAE
Tritanopia (blue-blind)
#00576E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2734b0;
/* rgb */ color: rgb(39, 52, 176);
/* oklch */ color: oklch(40.8% 0.194 270.0);
Tailwind
colors: {
  custom: {
    50: '#796cc9',
    500: '#2734b0',
    950: '#000000',
  },
}
SCSS
$custom: #2734b0;
$custom-light: #796cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2734b0",
  "rgb": {
    "r": 39,
    "g": 52,
    "b": 176
  },
  "hsl": {
    "h": 234.307,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40803,
    "c": 0.19359,
    "h": 270
  },
  "luminance": 0.06022
}

Semantic roles & 50–950 ramp

primary
#2734B0
secondary
#C7BE6C
accent
#D741E7
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2734B0

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

Preview Lab → · Contrast checker → · Palette generator →

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