#2734A8#2734A8

#2734A8 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.0% C 0.183 H 270.2°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#2734A8
RGBrgb(39, 52, 168)
HSLhsl(234, 62%, 41%)
HSVhsv(234, 77%, 66%)
CMYKcmyk(76.8%, 69%, 0%, 34.1%)
CIE-LABlab(28.68, 36.41, -63.36)
CIE-LCHlch(28.68, 73.08, 299.89°)
OKLaboklab(40% 0.0008 -0.1834)
OKLCHoklch(40% 0.183 270.2)
XYZxyz(9.1302, 5.7135, 37.6598)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2734A8 #A89B27
analogous
#2775A8 #2734A8 #5A27A8
triadic
#2734A8 #A82734 #34A827
tetradic
#2734A8 #A82775 #A89B27 #27A85A
square
#2734A8 #A82775 #A89B27 #27A85A
split-complementary
#2734A8 #A85A27 #75A827
monochromatic
#101545 #1B2576 #2734A8 #3B4AD1 #6C78DD

Accessibility & contrast

On white

9.80
#2734A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2734A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2734A8#FFFFFF#000000##FFFFFF
##2734A81.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAC
Deuteranopia (green-blind)
#003DA6
Tritanopia (blue-blind)
#00546A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2734a8;
/* rgb */ color: rgb(39, 52, 168);
/* oklch */ color: oklch(40.0% 0.183 270.2);
Tailwind
colors: {
  custom: {
    50: '#776cc3',
    500: '#2734a8',
    950: '#000000',
  },
}
SCSS
$custom: #2734a8;
$custom-light: #776cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2734a8",
  "rgb": {
    "r": 39,
    "g": 52,
    "b": 168
  },
  "hsl": {
    "h": 233.953,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39996,
    "c": 0.18338,
    "h": 270.2
  },
  "luminance": 0.05714
}

Semantic roles & 50–950 ramp

primary
#2734A8
secondary
#C3BA67
accent
#D542E5
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2734A8

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

Preview Lab → · Contrast checker → · Palette generator →

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