#2730C4#2730C4

#2730C4 is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.3% C 0.222 H 269.7°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#2730C4
RGBrgb(39, 48, 196)
HSLhsl(237, 67%, 46%)
HSVhsv(237, 80%, 77%)
CMYKcmyk(80.1%, 75.5%, 0%, 23.1%)
CIE-LABlab(30.71, 48.47, -76.64)
CIE-LCHlch(30.71, 90.68, 302.31°)
OKLaboklab(42.31% -0.0012 -0.222)
OKLCHoklch(42.31% 0.222 269.7)
XYZxyz(11.8541, 6.5294, 52.8494)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2730C4 #C4BB27
analogous
#277EC4 #2730C4 #6D27C4
triadic
#2730C4 #C42730 #30C427
tetradic
#2730C4 #C4277E #C4BB27 #27C46D
square
#2730C4 #C4277E #C4BB27 #27C46D
split-complementary
#2730C4 #C46D27 #7EC427
monochromatic
#13175E #1D2391 #2730C4 #4D55DC #8086E6

Accessibility & contrast

On white

9.11
#2730C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2730C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2730C4
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2730C4#FFFFFF#000000##FFFFFF
##2730C41.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C8
Deuteranopia (green-blind)
#0040C1
Tritanopia (blue-blind)
#005C78
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2730c4;
/* rgb */ color: rgb(39, 48, 196);
/* oklch */ color: oklch(42.3% 0.222 269.7);
Tailwind
colors: {
  custom: {
    50: '#7e6ad7',
    500: '#2730c4',
    950: '#000000',
  },
}
SCSS
$custom: #2730c4;
$custom-light: #7e6ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#2730c4",
  "rgb": {
    "r": 39,
    "g": 48,
    "b": 196
  },
  "hsl": {
    "h": 236.561,
    "s": 66.809,
    "l": 46.078
  },
  "oklch": {
    "l": 0.42313,
    "c": 0.22202,
    "h": 269.7
  },
  "luminance": 0.06531
}

Semantic roles & 50–950 ramp

primary
#2730C4
secondary
#CEC979
accent
#E03EEA
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #2730C4

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

Preview Lab → · Contrast checker → · Palette generator →

#2730C4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva