#2730A1#2730A1

#2730A1 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.6% C 0.179 H 271.2°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#2730A1
RGBrgb(39, 48, 161)
HSLhsl(236, 61%, 39%)
HSVhsv(236, 76%, 63%)
CMYKcmyk(75.8%, 70.2%, 0%, 36.9%)
CIE-LABlab(27.07, 36.41, -61.78)
CIE-LCHlch(27.07, 71.71, 300.51°)
OKLaboklab(38.62% 0.0037 -0.1788)
OKLCHoklch(38.62% 0.179 271.2)
XYZxyz(8.3245, 5.1176, 34.2604)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2730A1 #A19827
analogous
#276DA1 #2730A1 #5B27A1
triadic
#2730A1 #A12730 #30A127
tetradic
#2730A1 #A1276D #A19827 #27A15B
square
#2730A1 #A1276D #A19827 #27A15B
split-complementary
#2730A1 #A15B27 #6DA127
monochromatic
#0F133E #1B2170 #2730A1 #3742CE #6870DA

Accessibility & contrast

On white

10.38
#2730A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2730A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2730A1
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2730A1#FFFFFF#000000##FFFFFF
##2730A11.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A4
Deuteranopia (green-blind)
#003A9F
Tritanopia (blue-blind)
#004F65
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2730a1;
/* rgb */ color: rgb(39, 48, 161);
/* oklch */ color: oklch(38.6% 0.179 271.2);
Tailwind
colors: {
  custom: {
    50: '#7569be',
    500: '#2730a1',
    950: '#000000',
  },
}
SCSS
$custom: #2730a1;
$custom-light: #7569be;
$custom-dark: #000000;
JSON
{
  "hex": "#2730a1",
  "rgb": {
    "r": 39,
    "g": 48,
    "b": 161
  },
  "hsl": {
    "h": 235.574,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38624,
    "c": 0.17881,
    "h": 271.2
  },
  "luminance": 0.05118
}

Semantic roles & 50–950 ramp

primary
#2730A1
secondary
#C0BA63
accent
#D844E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2730A1

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

Preview Lab → · Contrast checker → · Palette generator →

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