#2741AA#2741AA

#2741AA is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.5% C 0.171 H 267.6°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#2741AA
RGBrgb(39, 65, 170)
HSLhsl(228, 63%, 41%)
HSVhsv(228, 77%, 67%)
CMYKcmyk(77.1%, 61.8%, 0%, 33.3%)
CIE-LABlab(32.06, 28.72, -59.01)
CIE-LCHlch(32.06, 65.63, 295.95°)
OKLaboklab(42.54% -0.0071 -0.1706)
OKLCHoklch(42.54% 0.171 267.6)
XYZxyz(9.9802, 7.1131, 38.8694)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2741AA #AA9027
analogous
#2782AA #2741AA #4F27AA
triadic
#2741AA #AA2741 #41AA27
tetradic
#2741AA #AA2782 #AA9027 #27AA4F
square
#2741AA #AA2782 #AA9027 #27AA4F
split-complementary
#2741AA #AA4F27 #82AA27
monochromatic
#101B46 #1C2E78 #2741AA #3C5AD2 #6E84DE

Accessibility & contrast

On white

8.67
#2741AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2741AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2741AA
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2741AA#FFFFFF#000000##FFFFFF
##2741AA1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AD
Deuteranopia (green-blind)
#0045A8
Tritanopia (blue-blind)
#005C6F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2741aa;
/* rgb */ color: rgb(39, 65, 170);
/* oklch */ color: oklch(42.5% 0.171 267.6);
Tailwind
colors: {
  custom: {
    50: '#7675c4',
    500: '#2741aa',
    950: '#000000',
  },
}
SCSS
$custom: #2741aa;
$custom-light: #7675c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2741aa",
  "rgb": {
    "r": 39,
    "g": 65,
    "b": 170
  },
  "hsl": {
    "h": 228.092,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.42536,
    "c": 0.17071,
    "h": 267.6
  },
  "luminance": 0.07114
}

Semantic roles & 50–950 ramp

primary
#2741AA
secondary
#C4B269
accent
#C542E6
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2741AA

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

Preview Lab → · Contrast checker → · Palette generator →

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