#2741A1#2741A1

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

Color values

HEX#2741A1
RGBrgb(39, 65, 161)
HSLhsl(227, 61%, 39%)
HSVhsv(227, 76%, 63%)
CMYKcmyk(75.8%, 59.6%, 0%, 36.9%)
CIE-LABlab(31.31, 25.30, -54.83)
CIE-LCHlch(31.31, 60.38, 294.77°)
OKLaboklab(41.74% -0.0072 -0.1583)
OKLCHoklch(41.74% 0.158 267.4)
XYZxyz(9.1578, 6.7841, 34.5381)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2741A1 #A18727
analogous
#277EA1 #2741A1 #4A27A1
triadic
#2741A1 #A12741 #41A127
tetradic
#2741A1 #A1277E #A18727 #27A14A
square
#2741A1 #A1277E #A18727 #27A14A
split-complementary
#2741A1 #A14A27 #7EA127
monochromatic
#0F193E #1B2D70 #2741A1 #3757CE #6880DA

Accessibility & contrast

On white

8.91
#2741A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##2741A1#FFFFFF#000000##FFFFFF
##2741A11.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A4
Deuteranopia (green-blind)
#00449F
Tritanopia (blue-blind)
#00596A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2741a1;
/* rgb */ color: rgb(39, 65, 161);
/* oklch */ color: oklch(41.7% 0.158 267.4);
Tailwind
colors: {
  custom: {
    50: '#7475be',
    500: '#2741a1',
    950: '#000000',
  },
}
SCSS
$custom: #2741a1;
$custom-light: #7475be;
$custom-dark: #000000;
JSON
{
  "hex": "#2741a1",
  "rgb": {
    "r": 39,
    "g": 65,
    "b": 161
  },
  "hsl": {
    "h": 227.213,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41742,
    "c": 0.15845,
    "h": 267.4
  },
  "luminance": 0.06785
}

Semantic roles & 50–950 ramp

primary
#2741A1
secondary
#C0AD63
accent
#C244E4
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2741A1

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

Preview Lab → · Contrast checker → · Palette generator →

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