#2730A6#2730A6

#2730A6 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.1% C 0.185 H 271.0°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#2730A6
RGBrgb(39, 48, 166)
HSLhsl(236, 62%, 40%)
HSVhsv(236, 77%, 65%)
CMYKcmyk(76.5%, 71.1%, 0%, 34.9%)
CIE-LABlab(27.57, 38.19, -63.98)
CIE-LCHlch(27.57, 74.51, 300.83°)
OKLaboklab(39.13% 0.0031 -0.1852)
OKLCHoklch(39.13% 0.185 271)
XYZxyz(8.7742, 5.2975, 36.6291)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2730A6 #A69D27
analogous
#276FA6 #2730A6 #5D27A6
triadic
#2730A6 #A62730 #30A627
tetradic
#2730A6 #A6276F #A69D27 #27A65D
square
#2730A6 #A6276F #A69D27 #27A65D
split-complementary
#2730A6 #A65D27 #6FA627
monochromatic
#101343 #1B2274 #2730A6 #3A44D1 #6B73DC

Accessibility & contrast

On white

10.20
#2730A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2730A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2730A6
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2730A6#FFFFFF#000000##FFFFFF
##2730A61.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AA
Deuteranopia (green-blind)
#003BA4
Tritanopia (blue-blind)
#005167
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2730a6;
/* rgb */ color: rgb(39, 48, 166);
/* oklch */ color: oklch(39.1% 0.185 271.0);
Tailwind
colors: {
  custom: {
    50: '#7669c2',
    500: '#2730a6',
    950: '#000000',
  },
}
SCSS
$custom: #2730a6;
$custom-light: #7669c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2730a6",
  "rgb": {
    "r": 39,
    "g": 48,
    "b": 166
  },
  "hsl": {
    "h": 235.748,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39134,
    "c": 0.18523,
    "h": 271
  },
  "luminance": 0.05298
}

Semantic roles & 50–950 ramp

primary
#2730A6
secondary
#C3BC66
accent
#DA43E5
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2730A6

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

Preview Lab → · Contrast checker → · Palette generator →

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