#2741A5#2741A5

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

Color values

HEX#2741A5
RGBrgb(39, 65, 165)
HSLhsl(228, 62%, 40%)
HSVhsv(228, 76%, 65%)
CMYKcmyk(76.4%, 60.6%, 0%, 35.3%)
CIE-LABlab(31.64, 26.82, -56.70)
CIE-LCHlch(31.64, 62.72, 295.32°)
OKLaboklab(42.09% -0.0071 -0.1638)
OKLCHoklch(42.09% 0.164 267.5)
XYZxyz(9.5162, 6.9275, 36.4256)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2741A5 #A58B27
analogous
#2780A5 #2741A5 #4C27A5
triadic
#2741A5 #A52741 #41A527
tetradic
#2741A5 #A52780 #A58B27 #27A54C
square
#2741A5 #A52780 #A58B27 #27A54C
split-complementary
#2741A5 #A54C27 #80A527
monochromatic
#101A42 #1B2D74 #2741A5 #3958D0 #6A82DC

Accessibility & contrast

On white

8.80
#2741A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2741A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2741A5#FFFFFF#000000##FFFFFF
##2741A51.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A8
Deuteranopia (green-blind)
#0045A3
Tritanopia (blue-blind)
#005A6C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2741a5;
/* rgb */ color: rgb(39, 65, 165);
/* oklch */ color: oklch(42.1% 0.164 267.5);
Tailwind
colors: {
  custom: {
    50: '#7575c1',
    500: '#2741a5',
    950: '#000000',
  },
}
SCSS
$custom: #2741a5;
$custom-light: #7575c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2741a5",
  "rgb": {
    "r": 39,
    "g": 65,
    "b": 165
  },
  "hsl": {
    "h": 227.619,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.42091,
    "c": 0.16393,
    "h": 267.5
  },
  "luminance": 0.06929
}

Semantic roles & 50–950 ramp

primary
#2741A5
secondary
#C2AF66
accent
#C343E5
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2741A5

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

Preview Lab → · Contrast checker → · Palette generator →

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