#2730AE#2730AE

#2730AE is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.0% C 0.195 H 270.6°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#2730AE
RGBrgb(39, 48, 174)
HSLhsl(236, 63%, 42%)
HSVhsv(236, 78%, 68%)
CMYKcmyk(77.6%, 72.4%, 0%, 31.8%)
CIE-LABlab(28.38, 41.00, -67.45)
CIE-LCHlch(28.38, 78.93, 301.29°)
OKLaboklab(39.96% 0.002 -0.1953)
OKLCHoklch(39.96% 0.195 270.6)
XYZxyz(9.5310, 5.6002, 40.6148)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2730AE #AEA527
analogous
#2774AE #2730AE #6227AE
triadic
#2730AE #AE2730 #30AE27
tetradic
#2730AE #AE2774 #AEA527 #27AE62
square
#2730AE #AE2774 #AEA527 #27AE62
split-complementary
#2730AE #AE6227 #74AE27
monochromatic
#11144A #1C227C #2730AE #3E48D4 #7078DF

Accessibility & contrast

On white

9.90
#2730AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2730AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2730AE
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2730AE#FFFFFF#000000##FFFFFF
##2730AE1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB2
Deuteranopia (green-blind)
#003CAC
Tritanopia (blue-blind)
#00546C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2730ae;
/* rgb */ color: rgb(39, 48, 174);
/* oklch */ color: oklch(40.0% 0.195 270.6);
Tailwind
colors: {
  custom: {
    50: '#7869c7',
    500: '#2730ae',
    950: '#000000',
  },
}
SCSS
$custom: #2730ae;
$custom-light: #7869c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2730ae",
  "rgb": {
    "r": 39,
    "g": 48,
    "b": 174
  },
  "hsl": {
    "h": 236,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39963,
    "c": 0.19532,
    "h": 270.6
  },
  "luminance": 0.05601
}

Semantic roles & 50–950 ramp

primary
#2730AE
secondary
#C6C06B
accent
#DB41E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2730AE

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

Preview Lab → · Contrast checker → · Palette generator →

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