#2741A3#2741A3

#2741A3 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.9% C 0.161 H 267.5°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#2741A3
RGBrgb(39, 65, 163)
HSLhsl(227, 61%, 40%)
HSVhsv(227, 76%, 64%)
CMYKcmyk(76.1%, 60.1%, 0%, 36.1%)
CIE-LABlab(31.48, 26.06, -55.77)
CIE-LCHlch(31.48, 61.55, 295.05°)
OKLaboklab(41.92% -0.0071 -0.161)
OKLCHoklch(41.92% 0.161 267.5)
XYZxyz(9.3356, 6.8553, 35.4744)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2741A3 #A38927
analogous
#277FA3 #2741A3 #4B27A3
triadic
#2741A3 #A32741 #41A327
tetradic
#2741A3 #A3277F #A38927 #27A34B
square
#2741A3 #A3277F #A38927 #27A34B
split-complementary
#2741A3 #A34B27 #7FA327
monochromatic
#0F1A40 #1B2D72 #2741A3 #3858CF #6981DB

Accessibility & contrast

On white

8.86
#2741A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2741A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2741A3#FFFFFF#000000##FFFFFF
##2741A31.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A6
Deuteranopia (green-blind)
#0044A1
Tritanopia (blue-blind)
#005A6B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2741a3;
/* rgb */ color: rgb(39, 65, 163);
/* oklch */ color: oklch(41.9% 0.161 267.5);
Tailwind
colors: {
  custom: {
    50: '#7475bf',
    500: '#2741a3',
    950: '#000000',
  },
}
SCSS
$custom: #2741a3;
$custom-light: #7475bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2741a3",
  "rgb": {
    "r": 39,
    "g": 65,
    "b": 163
  },
  "hsl": {
    "h": 227.419,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41916,
    "c": 0.1612,
    "h": 267.5
  },
  "luminance": 0.06856
}

Semantic roles & 50–950 ramp

primary
#2741A3
secondary
#C1AE64
accent
#C343E4
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2741A3

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

Preview Lab → · Contrast checker → · Palette generator →

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