#2741A8#2741A8

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

Color values

HEX#2741A8
RGBrgb(39, 65, 168)
HSLhsl(228, 62%, 41%)
HSVhsv(228, 77%, 66%)
CMYKcmyk(76.8%, 61.3%, 0%, 34.1%)
CIE-LABlab(31.89, 27.96, -58.09)
CIE-LCHlch(31.89, 64.47, 295.70°)
OKLaboklab(42.36% -0.0071 -0.1679)
OKLCHoklch(42.36% 0.168 267.6)
XYZxyz(9.7924, 7.0380, 37.8806)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2741A8 #A88E27
analogous
#2781A8 #2741A8 #4D27A8
triadic
#2741A8 #A82741 #41A827
tetradic
#2741A8 #A82781 #A88E27 #27A84D
square
#2741A8 #A82781 #A88E27 #27A84D
split-complementary
#2741A8 #A84D27 #81A827
monochromatic
#101B45 #1B2E76 #2741A8 #3B59D1 #6C83DD

Accessibility & contrast

On white

8.72
#2741A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#2741A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2741A8
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2741A8#FFFFFF#000000##FFFFFF
##2741A81.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AB
Deuteranopia (green-blind)
#0045A6
Tritanopia (blue-blind)
#005B6E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2741a8;
/* rgb */ color: rgb(39, 65, 168);
/* oklch */ color: oklch(42.4% 0.168 267.6);
Tailwind
colors: {
  custom: {
    50: '#7575c3',
    500: '#2741a8',
    950: '#000000',
  },
}
SCSS
$custom: #2741a8;
$custom-light: #7575c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2741a8",
  "rgb": {
    "r": 39,
    "g": 65,
    "b": 168
  },
  "hsl": {
    "h": 227.907,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.42357,
    "c": 0.16801,
    "h": 267.6
  },
  "luminance": 0.07039
}

Semantic roles & 50–950 ramp

primary
#2741A8
secondary
#C3B167
accent
#C542E5
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2741A8

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

Preview Lab → · Contrast checker → · Palette generator →

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