#2730A2#2730A2

#2730A2 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.7% C 0.180 H 271.1°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#2730A2
RGBrgb(39, 48, 162)
HSLhsl(236, 61%, 39%)
HSVhsv(236, 76%, 64%)
CMYKcmyk(75.9%, 70.4%, 0%, 36.5%)
CIE-LABlab(27.17, 36.77, -62.22)
CIE-LCHlch(27.17, 72.27, 300.58°)
OKLaboklab(38.73% 0.0036 -0.1801)
OKLCHoklch(38.73% 0.18 271.1)
XYZxyz(8.4130, 5.1530, 34.7267)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2730A2 #A29927
analogous
#276EA2 #2730A2 #5C27A2
triadic
#2730A2 #A22730 #30A227
tetradic
#2730A2 #A2276E #A29927 #27A25C
square
#2730A2 #A2276E #A29927 #27A25C
split-complementary
#2730A2 #A25C27 #6EA227
monochromatic
#0F133F #1B2171 #2730A2 #3742CF #6971DB

Accessibility & contrast

On white

10.34
#2730A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2730A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2730A2
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2730A2#FFFFFF#000000##FFFFFF
##2730A21.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A5
Deuteranopia (green-blind)
#003AA0
Tritanopia (blue-blind)
#005065
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2730a2;
/* rgb */ color: rgb(39, 48, 162);
/* oklch */ color: oklch(38.7% 0.180 271.1);
Tailwind
colors: {
  custom: {
    50: '#7569bf',
    500: '#2730a2',
    950: '#000000',
  },
}
SCSS
$custom: #2730a2;
$custom-light: #7569bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2730a2",
  "rgb": {
    "r": 39,
    "g": 48,
    "b": 162
  },
  "hsl": {
    "h": 235.61,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.38725,
    "c": 0.18011,
    "h": 271.1
  },
  "luminance": 0.05154
}

Semantic roles & 50–950 ramp

primary
#2730A2
secondary
#C1BA64
accent
#D943E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2730A2

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

Preview Lab → · Contrast checker → · Palette generator →

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