#2730BD#2730BD

#2730BD is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.6% C 0.214 H 270.0°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#2730BD
RGBrgb(39, 48, 189)
HSLhsl(236, 66%, 45%)
HSVhsv(236, 79%, 74%)
CMYKcmyk(79.4%, 74.6%, 0%, 25.9%)
CIE-LABlab(29.96, 46.13, -73.77)
CIE-LCHlch(29.96, 87.01, 302.02°)
OKLaboklab(41.56% -0.0002 -0.2137)
OKLCHoklch(41.56% 0.214 270)
XYZxyz(11.0758, 6.2181, 48.7507)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2730BD #BDB427
analogous
#277BBD #2730BD #6927BD
triadic
#2730BD #BD2730 #30BD27
tetradic
#2730BD #BD277B #BDB427 #27BD69
square
#2730BD #BD277B #BDB427 #27BD69
split-complementary
#2730BD #BD6927 #7BBD27
monochromatic
#121658 #1D238A #2730BD #4851D9 #7B81E4

Accessibility & contrast

On white

9.36
#2730BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2730BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2730BD
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2730BD#FFFFFF#000000##FFFFFF
##2730BD1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC1
Deuteranopia (green-blind)
#003FBB
Tritanopia (blue-blind)
#005974
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2730bd;
/* rgb */ color: rgb(39, 48, 189);
/* oklch */ color: oklch(41.6% 0.214 270.0);
Tailwind
colors: {
  custom: {
    50: '#7c6ad2',
    500: '#2730bd',
    950: '#000000',
  },
}
SCSS
$custom: #2730bd;
$custom-light: #7c6ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#2730bd",
  "rgb": {
    "r": 39,
    "g": 48,
    "b": 189
  },
  "hsl": {
    "h": 236.4,
    "s": 65.789,
    "l": 44.706
  },
  "oklch": {
    "l": 0.41555,
    "c": 0.21368,
    "h": 270
  },
  "luminance": 0.06219
}

Semantic roles & 50–950 ramp

primary
#2730BD
secondary
#CCC674
accent
#DF3FE9
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2730BD

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

Preview Lab → · Contrast checker → · Palette generator →

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