#2730A9#2730A9

#2730A9 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.4% C 0.189 H 270.8°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#2730A9
RGBrgb(39, 48, 169)
HSLhsl(236, 63%, 41%)
HSVhsv(236, 77%, 66%)
CMYKcmyk(76.9%, 71.6%, 0%, 33.7%)
CIE-LABlab(27.87, 39.25, -65.29)
CIE-LCHlch(27.87, 76.18, 301.01°)
OKLaboklab(39.44% 0.0027 -0.189)
OKLCHoklch(39.44% 0.189 270.8)
XYZxyz(9.0526, 5.4088, 38.0953)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2730A9 #A9A027
analogous
#2771A9 #2730A9 #5F27A9
triadic
#2730A9 #A92730 #30A927
tetradic
#2730A9 #A92771 #A9A027 #27A95F
square
#2730A9 #A92771 #A9A027 #27A95F
split-complementary
#2730A9 #A95F27 #71A927
monochromatic
#101446 #1C2277 #2730A9 #3B46D2 #6D75DD

Accessibility & contrast

On white

10.09
#2730A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2730A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2730A9
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2730A9#FFFFFF#000000##FFFFFF
##2730A91.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AD
Deuteranopia (green-blind)
#003BA7
Tritanopia (blue-blind)
#005269
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2730a9;
/* rgb */ color: rgb(39, 48, 169);
/* oklch */ color: oklch(39.4% 0.189 270.8);
Tailwind
colors: {
  custom: {
    50: '#7769c4',
    500: '#2730a9',
    950: '#000000',
  },
}
SCSS
$custom: #2730a9;
$custom-light: #7769c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2730a9",
  "rgb": {
    "r": 39,
    "g": 48,
    "b": 169
  },
  "hsl": {
    "h": 235.846,
    "s": 62.5,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39443,
    "c": 0.18904,
    "h": 270.8
  },
  "luminance": 0.0541
}

Semantic roles & 50–950 ramp

primary
#2730A9
secondary
#C4BE68
accent
#DA42E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #2730A9

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

Preview Lab → · Contrast checker → · Palette generator →

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