#2730B0#2730B0

#2730B0 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.2% C 0.198 H 270.5°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#2730B0
RGBrgb(39, 48, 176)
HSLhsl(236, 64%, 42%)
HSVhsv(236, 78%, 69%)
CMYKcmyk(77.8%, 72.7%, 0%, 31%)
CIE-LABlab(28.59, 41.69, -68.31)
CIE-LCHlch(28.59, 80.03, 301.40°)
OKLaboklab(40.17% 0.0018 -0.1978)
OKLCHoklch(40.17% 0.198 270.5)
XYZxyz(9.7275, 5.6788, 41.6493)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2730B0 #B0A727
analogous
#2775B0 #2730B0 #6227B0
triadic
#2730B0 #B02730 #30B027
tetradic
#2730B0 #B02775 #B0A727 #27B062
square
#2730B0 #B02775 #B0A727 #27B062
split-complementary
#2730B0 #B06227 #75B027
monochromatic
#11154C #1C227E #2730B0 #4049D5 #7279E0

Accessibility & contrast

On white

9.83
#2730B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2730B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2730B0
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2730B0#FFFFFF#000000##FFFFFF
##2730B01.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB4
Deuteranopia (green-blind)
#003DAE
Tritanopia (blue-blind)
#00556D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2730b0;
/* rgb */ color: rgb(39, 48, 176);
/* oklch */ color: oklch(40.2% 0.198 270.5);
Tailwind
colors: {
  custom: {
    50: '#7969c9',
    500: '#2730b0',
    950: '#000000',
  },
}
SCSS
$custom: #2730b0;
$custom-light: #7969c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2730b0",
  "rgb": {
    "r": 39,
    "g": 48,
    "b": 176
  },
  "hsl": {
    "h": 236.058,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40172,
    "c": 0.19781,
    "h": 270.5
  },
  "luminance": 0.0568
}

Semantic roles & 50–950 ramp

primary
#2730B0
secondary
#C7C16C
accent
#DC41E7
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2730B0

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

Preview Lab → · Contrast checker → · Palette generator →

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