#2741A2#2741A2

#2741A2 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.8% C 0.160 H 267.4°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#2741A2
RGBrgb(39, 65, 162)
HSLhsl(227, 61%, 39%)
HSVhsv(227, 76%, 64%)
CMYKcmyk(75.9%, 59.9%, 0%, 36.5%)
CIE-LABlab(31.39, 25.68, -55.30)
CIE-LCHlch(31.39, 60.97, 294.91°)
OKLaboklab(41.83% -0.0072 -0.1597)
OKLCHoklch(41.83% 0.16 267.4)
XYZxyz(9.2463, 6.8196, 35.0044)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2741A2 #A28827
analogous
#277FA2 #2741A2 #4B27A2
triadic
#2741A2 #A22741 #41A227
tetradic
#2741A2 #A2277F #A28827 #27A24B
square
#2741A2 #A2277F #A28827 #27A24B
split-complementary
#2741A2 #A24B27 #7FA227
monochromatic
#0F193F #1B2D71 #2741A2 #3757CF #6981DB

Accessibility & contrast

On white

8.88
#2741A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2741A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2741A2#FFFFFF#000000##FFFFFF
##2741A21.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A5
Deuteranopia (green-blind)
#0044A0
Tritanopia (blue-blind)
#00596B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2741a2;
/* rgb */ color: rgb(39, 65, 162);
/* oklch */ color: oklch(41.8% 0.160 267.4);
Tailwind
colors: {
  custom: {
    50: '#7475be',
    500: '#2741a2',
    950: '#000000',
  },
}
SCSS
$custom: #2741a2;
$custom-light: #7475be;
$custom-dark: #000000;
JSON
{
  "hex": "#2741a2",
  "rgb": {
    "r": 39,
    "g": 65,
    "b": 162
  },
  "hsl": {
    "h": 227.317,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41829,
    "c": 0.15983,
    "h": 267.4
  },
  "luminance": 0.06821
}

Semantic roles & 50–950 ramp

primary
#2741A2
secondary
#C1AD64
accent
#C243E4
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2741A2

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

Preview Lab → · Contrast checker → · Palette generator →

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