#2730AD#2730AD

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

Color values

HEX#2730AD
RGBrgb(39, 48, 173)
HSLhsl(236, 63%, 42%)
HSVhsv(236, 77%, 68%)
CMYKcmyk(77.5%, 72.3%, 0%, 32.2%)
CIE-LABlab(28.28, 40.65, -67.02)
CIE-LCHlch(28.28, 78.39, 301.24°)
OKLaboklab(39.86% 0.0022 -0.1941)
OKLCHoklch(39.86% 0.194 270.6)
XYZxyz(9.4339, 5.5613, 40.1033)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2730AD #ADA427
analogous
#2773AD #2730AD #6127AD
triadic
#2730AD #AD2730 #30AD27
tetradic
#2730AD #AD2773 #ADA427 #27AD61
square
#2730AD #AD2773 #ADA427 #27AD61
split-complementary
#2730AD #AD6127 #73AD27
monochromatic
#101449 #1C227B #2730AD #3E48D3 #7077DF

Accessibility & contrast

On white

9.94
#2730AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2730AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2730AD
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2730AD#FFFFFF#000000##FFFFFF
##2730AD1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B1
Deuteranopia (green-blind)
#003CAB
Tritanopia (blue-blind)
#00546B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2730ad;
/* rgb */ color: rgb(39, 48, 173);
/* oklch */ color: oklch(39.9% 0.194 270.6);
Tailwind
colors: {
  custom: {
    50: '#7869c7',
    500: '#2730ad',
    950: '#000000',
  },
}
SCSS
$custom: #2730ad;
$custom-light: #7869c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2730ad",
  "rgb": {
    "r": 39,
    "g": 48,
    "b": 173
  },
  "hsl": {
    "h": 235.97,
    "s": 63.208,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39858,
    "c": 0.19407,
    "h": 270.6
  },
  "luminance": 0.05562
}

Semantic roles & 50–950 ramp

primary
#2730AD
secondary
#C6BF6A
accent
#DB42E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2730AD

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

Preview Lab → · Contrast checker → · Palette generator →

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