#2741B1#2741B1

#2741B1 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.2% C 0.180 H 267.7°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#2741B1
RGBrgb(39, 65, 177)
HSLhsl(229, 64%, 42%)
HSVhsv(229, 78%, 69%)
CMYKcmyk(78%, 63.3%, 0%, 30.6%)
CIE-LABlab(32.67, 31.35, -62.20)
CIE-LCHlch(32.67, 69.65, 296.75°)
OKLaboklab(43.17% -0.0072 -0.1799)
OKLCHoklch(43.17% 0.18 267.7)
XYZxyz(10.6600, 7.3850, 42.4501)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2741B1 #B19727
analogous
#2786B1 #2741B1 #5227B1
triadic
#2741B1 #B12741 #41B127
tetradic
#2741B1 #B12786 #B19727 #27B152
square
#2741B1 #B12786 #B19727 #27B152
split-complementary
#2741B1 #B15227 #86B127
monochromatic
#111C4D #1C2F7F #2741B1 #405CD5 #7287E0

Accessibility & contrast

On white

8.48
#2741B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2741B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2741B1
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2741B1#FFFFFF#000000##FFFFFF
##2741B11.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B5
Deuteranopia (green-blind)
#0046AF
Tritanopia (blue-blind)
#005E73
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2741b1;
/* rgb */ color: rgb(39, 65, 177);
/* oklch */ color: oklch(43.2% 0.180 267.7);
Tailwind
colors: {
  custom: {
    50: '#7875c9',
    500: '#2741b1',
    950: '#000000',
  },
}
SCSS
$custom: #2741b1;
$custom-light: #7875c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2741b1",
  "rgb": {
    "r": 39,
    "g": 65,
    "b": 177
  },
  "hsl": {
    "h": 228.696,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.4317,
    "c": 0.18004,
    "h": 267.7
  },
  "luminance": 0.07386
}

Semantic roles & 50–950 ramp

primary
#2741B1
secondary
#C7B66D
accent
#C841E7
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2741B1

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

Preview Lab → · Contrast checker → · Palette generator →

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