#2727B3#2727B3

#2727B3 is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 39.2% C 0.210 H 271.3°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#2727B3
RGBrgb(39, 39, 179)
HSLhsl(240, 64%, 43%)
HSVhsv(240, 78%, 70%)
CMYKcmyk(78.2%, 78.2%, 0%, 29.8%)
CIE-LABlab(27.12, 47.77, -72.53)
CIE-LCHlch(27.12, 86.85, 303.37°)
OKLaboklab(39.23% 0.0047 -0.21)
OKLCHoklch(39.23% 0.21 271.3)
XYZxyz(9.6962, 5.1360, 43.1194)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2727B3 #B3B327
analogous
#276DB3 #2727B3 #6D27B3
triadic
#2727B3 #B32727 #27B327
tetradic
#2727B3 #B3276D #B3B327 #27B36D
square
#2727B3 #B3276D #B3B327 #27B36D
split-complementary
#2727B3 #B36D27 #6DB327
monochromatic
#11114E #1C1C81 #2727B3 #4141D6 #7474E1

Accessibility & contrast

On white

10.36
#2727B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2727B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2727B3
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2727B3#FFFFFF#000000##FFFFFF
##2727B31.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B7
Deuteranopia (green-blind)
#0039B1
Tritanopia (blue-blind)
#00526C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2727b3;
/* rgb */ color: rgb(39, 39, 179);
/* oklch */ color: oklch(39.2% 0.210 271.3);
Tailwind
colors: {
  custom: {
    50: '#7b64cb',
    500: '#2727b3',
    950: '#000000',
  },
}
SCSS
$custom: #2727b3;
$custom-light: #7b64cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2727b3",
  "rgb": {
    "r": 39,
    "g": 39,
    "b": 179
  },
  "hsl": {
    "h": 240,
    "s": 64.22,
    "l": 42.745
  },
  "oklch": {
    "l": 0.39227,
    "c": 0.21003,
    "h": 271.3
  },
  "luminance": 0.05137
}

Semantic roles & 50–950 ramp

primary
#2727B3
secondary
#C8C86E
accent
#E741E7
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2727B3

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

Preview Lab → · Contrast checker → · Palette generator →

#2727B3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva