#2741AE#2741AE

#2741AE is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.9% C 0.176 H 267.7°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#2741AE
RGBrgb(39, 65, 174)
HSLhsl(228, 63%, 42%)
HSVhsv(228, 78%, 68%)
CMYKcmyk(77.6%, 62.6%, 0%, 31.8%)
CIE-LABlab(32.41, 30.23, -60.84)
CIE-LCHlch(32.41, 67.93, 296.42°)
OKLaboklab(42.9% -0.0071 -0.1759)
OKLCHoklch(42.9% 0.176 267.7)
XYZxyz(10.3643, 7.2668, 40.8926)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2741AE #AE9427
analogous
#2785AE #2741AE #5027AE
triadic
#2741AE #AE2741 #41AE27
tetradic
#2741AE #AE2785 #AE9427 #27AE50
square
#2741AE #AE2785 #AE9427 #27AE50
split-complementary
#2741AE #AE5027 #85AE27
monochromatic
#111C4A #1C2E7C #2741AE #3E5BD4 #7086DF

Accessibility & contrast

On white

8.56
#2741AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2741AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2741AE
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2741AE#FFFFFF#000000##FFFFFF
##2741AE1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B2
Deuteranopia (green-blind)
#0046AC
Tritanopia (blue-blind)
#005D71
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2741ae;
/* rgb */ color: rgb(39, 65, 174);
/* oklch */ color: oklch(42.9% 0.176 267.7);
Tailwind
colors: {
  custom: {
    50: '#7775c7',
    500: '#2741ae',
    950: '#000000',
  },
}
SCSS
$custom: #2741ae;
$custom-light: #7775c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2741ae",
  "rgb": {
    "r": 39,
    "g": 65,
    "b": 174
  },
  "hsl": {
    "h": 228.444,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42897,
    "c": 0.17606,
    "h": 267.7
  },
  "luminance": 0.07268
}

Semantic roles & 50–950 ramp

primary
#2741AE
secondary
#C6B46B
accent
#C741E6
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2741AE

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

Preview Lab → · Contrast checker → · Palette generator →

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