#2741A7#2741A7

#2741A7 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.3% C 0.167 H 267.6°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#2741A7
RGBrgb(39, 65, 167)
HSLhsl(228, 62%, 40%)
HSVhsv(228, 77%, 65%)
CMYKcmyk(76.6%, 61.1%, 0%, 34.5%)
CIE-LABlab(31.81, 27.58, -57.63)
CIE-LCHlch(31.81, 63.89, 295.58°)
OKLaboklab(42.27% -0.0071 -0.1665)
OKLCHoklch(42.27% 0.167 267.6)
XYZxyz(9.6996, 7.0009, 37.3918)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2741A7 #A78D27
analogous
#2781A7 #2741A7 #4D27A7
triadic
#2741A7 #A72741 #41A727
tetradic
#2741A7 #A72781 #A78D27 #27A74D
square
#2741A7 #A72781 #A78D27 #27A74D
split-complementary
#2741A7 #A74D27 #81A727
monochromatic
#101A44 #1B2E75 #2741A7 #3A59D1 #6C83DD

Accessibility & contrast

On white

8.75
#2741A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2741A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2741A7#FFFFFF#000000##FFFFFF
##2741A71.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AA
Deuteranopia (green-blind)
#0045A5
Tritanopia (blue-blind)
#005B6D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2741a7;
/* rgb */ color: rgb(39, 65, 167);
/* oklch */ color: oklch(42.3% 0.167 267.6);
Tailwind
colors: {
  custom: {
    50: '#7575c2',
    500: '#2741a7',
    950: '#000000',
  },
}
SCSS
$custom: #2741a7;
$custom-light: #7575c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2741a7",
  "rgb": {
    "r": 39,
    "g": 65,
    "b": 167
  },
  "hsl": {
    "h": 227.813,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.42268,
    "c": 0.16665,
    "h": 267.6
  },
  "luminance": 0.07002
}

Semantic roles & 50–950 ramp

primary
#2741A7
secondary
#C3B067
accent
#C443E5
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2741A7

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

Preview Lab → · Contrast checker → · Palette generator →

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