#2747AB#2747AB

#2747AB is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.8% C 0.165 H 266.1°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#2747AB
RGBrgb(39, 71, 171)
HSLhsl(225, 63%, 41%)
HSVhsv(225, 77%, 67%)
CMYKcmyk(77.2%, 58.5%, 0%, 32.9%)
CIE-LABlab(33.73, 25.11, -56.90)
CIE-LCHlch(33.73, 62.19, 293.81°)
OKLaboklab(43.8% -0.0112 -0.1643)
OKLCHoklch(43.8% 0.165 266.1)
XYZxyz(10.4380, 7.8769, 39.4905)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2747AB #AB8B27
analogous
#2789AB #2747AB #4927AB
triadic
#2747AB #AB2747 #47AB27
tetradic
#2747AB #AB2789 #AB8B27 #27AB49
square
#2747AB #AB2789 #AB8B27 #27AB49
split-complementary
#2747AB #AB4927 #89AB27
monochromatic
#101E47 #1C3279 #2747AB #3D61D3 #6E89DE

Accessibility & contrast

On white

8.15
#2747AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2747AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2747AB
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2747AB#FFFFFF#000000##FFFFFF
##2747AB1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AE
Deuteranopia (green-blind)
#0049A9
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2747ab;
/* rgb */ color: rgb(39, 71, 171);
/* oklch */ color: oklch(43.8% 0.165 266.1);
Tailwind
colors: {
  custom: {
    50: '#7679c5',
    500: '#2747ab',
    950: '#000000',
  },
}
SCSS
$custom: #2747ab;
$custom-light: #7679c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2747ab",
  "rgb": {
    "r": 39,
    "g": 71,
    "b": 171
  },
  "hsl": {
    "h": 225.455,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.43801,
    "c": 0.16465,
    "h": 266.1
  },
  "luminance": 0.07878
}

Semantic roles & 50–950 ramp

primary
#2747AB
secondary
#C5AE69
accent
#BE42E6
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2747AB

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

Preview Lab → · Contrast checker → · Palette generator →

#2747AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva