#2730A3#2730A3

#2730A3 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.8% C 0.181 H 271.1°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#2730A3
RGBrgb(39, 48, 163)
HSLhsl(236, 61%, 40%)
HSVhsv(236, 76%, 64%)
CMYKcmyk(76.1%, 70.6%, 0%, 36.1%)
CIE-LABlab(27.27, 37.13, -62.66)
CIE-LCHlch(27.27, 72.84, 300.64°)
OKLaboklab(38.83% 0.0035 -0.1814)
OKLCHoklch(38.83% 0.181 271.1)
XYZxyz(8.5023, 5.1887, 35.1967)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2730A3 #A39A27
analogous
#276EA3 #2730A3 #5C27A3
triadic
#2730A3 #A32730 #30A327
tetradic
#2730A3 #A3276E #A39A27 #27A35C
square
#2730A3 #A3276E #A39A27 #27A35C
split-complementary
#2730A3 #A35C27 #6EA327
monochromatic
#0F1340 #1B2172 #2730A3 #3843CF #6972DB

Accessibility & contrast

On white

10.30
#2730A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2730A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2730A3
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2730A3#FFFFFF#000000##FFFFFF
##2730A31.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A6
Deuteranopia (green-blind)
#003AA1
Tritanopia (blue-blind)
#005066
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2730a3;
/* rgb */ color: rgb(39, 48, 163);
/* oklch */ color: oklch(38.8% 0.181 271.1);
Tailwind
colors: {
  custom: {
    50: '#7669bf',
    500: '#2730a3',
    950: '#000000',
  },
}
SCSS
$custom: #2730a3;
$custom-light: #7669bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2730a3",
  "rgb": {
    "r": 39,
    "g": 48,
    "b": 163
  },
  "hsl": {
    "h": 235.645,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38827,
    "c": 0.18139,
    "h": 271.1
  },
  "luminance": 0.0519
}

Semantic roles & 50–950 ramp

primary
#2730A3
secondary
#C1BB64
accent
#D943E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2730A3

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

Preview Lab → · Contrast checker → · Palette generator →

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