#2745B1#2745B1

#2745B1 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.9% C 0.175 H 266.8°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#2745B1
RGBrgb(39, 69, 177)
HSLhsl(227, 64%, 42%)
HSVhsv(227, 78%, 69%)
CMYKcmyk(78%, 61%, 0%, 30.6%)
CIE-LABlab(33.69, 28.72, -60.52)
CIE-LCHlch(33.69, 66.99, 295.39°)
OKLaboklab(43.93% -0.0097 -0.1749)
OKLCHoklch(43.93% 0.175 266.8)
XYZxyz(10.8979, 7.8607, 42.5294)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2745B1 #B19327
analogous
#278AB1 #2745B1 #4E27B1
triadic
#2745B1 #B12745 #45B127
tetradic
#2745B1 #B1278A #B19327 #27B14E
square
#2745B1 #B1278A #B19327 #27B14E
split-complementary
#2745B1 #B14E27 #8AB127
monochromatic
#111E4D #1C317F #2745B1 #4061D5 #728AE0

Accessibility & contrast

On white

8.16
#2745B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2745B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2745B1
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2745B1#FFFFFF#000000##FFFFFF
##2745B11.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B5
Deuteranopia (green-blind)
#0049AF
Tritanopia (blue-blind)
#006174
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2745b1;
/* rgb */ color: rgb(39, 69, 177);
/* oklch */ color: oklch(43.9% 0.175 266.8);
Tailwind
colors: {
  custom: {
    50: '#7778c9',
    500: '#2745b1',
    950: '#000000',
  },
}
SCSS
$custom: #2745b1;
$custom-light: #7778c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2745b1",
  "rgb": {
    "r": 39,
    "g": 69,
    "b": 177
  },
  "hsl": {
    "h": 226.957,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.43929,
    "c": 0.17522,
    "h": 266.8
  },
  "luminance": 0.07862
}

Semantic roles & 50–950 ramp

primary
#2745B1
secondary
#C7B36D
accent
#C341E7
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2745B1

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

Preview Lab → · Contrast checker → · Palette generator →

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