#2734AA#2734AA

#2734AA is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.2% C 0.186 H 270.2°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#2734AA
RGBrgb(39, 52, 170)
HSLhsl(234, 63%, 41%)
HSVhsv(234, 77%, 67%)
CMYKcmyk(77.1%, 69.4%, 0%, 33.3%)
CIE-LABlab(28.87, 37.13, -64.24)
CIE-LCHlch(28.87, 74.20, 300.03°)
OKLaboklab(40.2% 0.0006 -0.186)
OKLCHoklch(40.2% 0.186 270.2)
XYZxyz(9.3179, 5.7886, 38.6486)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2734AA #AA9D27
analogous
#2775AA #2734AA #5B27AA
triadic
#2734AA #AA2734 #34AA27
tetradic
#2734AA #AA2775 #AA9D27 #27AA5B
square
#2734AA #AA2775 #AA9D27 #27AA5B
split-complementary
#2734AA #AA5B27 #75AA27
monochromatic
#101646 #1C2578 #2734AA #3C4BD2 #6E79DE

Accessibility & contrast

On white

9.73
#2734AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2734AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2734AA#FFFFFF#000000##FFFFFF
##2734AA1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAE
Deuteranopia (green-blind)
#003EA8
Tritanopia (blue-blind)
#00546B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2734aa;
/* rgb */ color: rgb(39, 52, 170);
/* oklch */ color: oklch(40.2% 0.186 270.2);
Tailwind
colors: {
  custom: {
    50: '#776cc4',
    500: '#2734aa',
    950: '#000000',
  },
}
SCSS
$custom: #2734aa;
$custom-light: #776cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2734aa",
  "rgb": {
    "r": 39,
    "g": 52,
    "b": 170
  },
  "hsl": {
    "h": 234.046,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40197,
    "c": 0.18596,
    "h": 270.2
  },
  "luminance": 0.0579
}

Semantic roles & 50–950 ramp

primary
#2734AA
secondary
#C4BB69
accent
#D542E6
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2734AA

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

Preview Lab → · Contrast checker → · Palette generator →

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