#2730AA#2730AA

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

Color values

HEX#2730AA
RGBrgb(39, 48, 170)
HSLhsl(236, 63%, 41%)
HSVhsv(236, 77%, 67%)
CMYKcmyk(77.1%, 71.8%, 0%, 33.3%)
CIE-LABlab(27.97, 39.60, -65.73)
CIE-LCHlch(27.97, 76.73, 301.07°)
OKLaboklab(39.55% 0.0026 -0.1903)
OKLCHoklch(39.55% 0.19 270.8)
XYZxyz(9.1469, 5.4465, 38.5916)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2730AA #AAA127
analogous
#2771AA #2730AA #5F27AA
triadic
#2730AA #AA2730 #30AA27
tetradic
#2730AA #AA2771 #AAA127 #27AA5F
square
#2730AA #AA2771 #AAA127 #27AA5F
split-complementary
#2730AA #AA5F27 #71AA27
monochromatic
#101446 #1C2278 #2730AA #3C46D2 #6E75DE

Accessibility & contrast

On white

10.05
#2730AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2730AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2730AA#FFFFFF#000000##FFFFFF
##2730AA1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AE
Deuteranopia (green-blind)
#003CA8
Tritanopia (blue-blind)
#00526A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2730aa;
/* rgb */ color: rgb(39, 48, 170);
/* oklch */ color: oklch(39.5% 0.190 270.8);
Tailwind
colors: {
  custom: {
    50: '#7769c4',
    500: '#2730aa',
    950: '#000000',
  },
}
SCSS
$custom: #2730aa;
$custom-light: #7769c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2730aa",
  "rgb": {
    "r": 39,
    "g": 48,
    "b": 170
  },
  "hsl": {
    "h": 235.878,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39546,
    "c": 0.19031,
    "h": 270.8
  },
  "luminance": 0.05448
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2730AA

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

Preview Lab → · Contrast checker → · Palette generator →

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