#2741B0#2741B0

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

Color values

HEX#2741B0
RGBrgb(39, 65, 176)
HSLhsl(229, 64%, 42%)
HSVhsv(229, 78%, 69%)
CMYKcmyk(77.8%, 63.1%, 0%, 31%)
CIE-LABlab(32.58, 30.98, -61.74)
CIE-LCHlch(32.58, 69.08, 296.64°)
OKLaboklab(43.08% -0.0072 -0.1786)
OKLCHoklch(43.08% 0.179 267.7)
XYZxyz(10.5607, 7.3453, 41.9271)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2741B0 #B09627
analogous
#2786B0 #2741B0 #5127B0
triadic
#2741B0 #B02741 #41B027
tetradic
#2741B0 #B02786 #B09627 #27B051
square
#2741B0 #B02786 #B09627 #27B051
split-complementary
#2741B0 #B05127 #86B027
monochromatic
#111C4C #1C2E7E #2741B0 #405CD5 #7287E0

Accessibility & contrast

On white

8.50
#2741B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2741B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2741B0
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2741B0#FFFFFF#000000##FFFFFF
##2741B01.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B4
Deuteranopia (green-blind)
#0046AE
Tritanopia (blue-blind)
#005E72
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2741b0;
/* rgb */ color: rgb(39, 65, 176);
/* oklch */ color: oklch(43.1% 0.179 267.7);
Tailwind
colors: {
  custom: {
    50: '#7775c9',
    500: '#2741b0',
    950: '#000000',
  },
}
SCSS
$custom: #2741b0;
$custom-light: #7775c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2741b0",
  "rgb": {
    "r": 39,
    "g": 65,
    "b": 176
  },
  "hsl": {
    "h": 228.613,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.43079,
    "c": 0.17871,
    "h": 267.7
  },
  "luminance": 0.07347
}

Semantic roles & 50–950 ramp

primary
#2741B0
secondary
#C7B66C
accent
#C741E7
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2741B0

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

Preview Lab → · Contrast checker → · Palette generator →

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