#2745B2#2745B2

#2745B2 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.0% C 0.177 H 266.9°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#2745B2
RGBrgb(39, 69, 178)
HSLhsl(227, 64%, 43%)
HSVhsv(227, 78%, 70%)
CMYKcmyk(78.1%, 61.2%, 0%, 30.2%)
CIE-LABlab(33.78, 29.10, -60.98)
CIE-LCHlch(33.78, 67.57, 295.51°)
OKLaboklab(44.02% -0.0097 -0.1763)
OKLCHoklch(44.02% 0.177 266.9)
XYZxyz(10.9979, 7.9007, 43.0562)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2745B2 #B29427
analogous
#278BB2 #2745B2 #4E27B2
triadic
#2745B2 #B22745 #45B227
tetradic
#2745B2 #B2278B #B29427 #27B24E
square
#2745B2 #B2278B #B29427 #27B24E
split-complementary
#2745B2 #B24E27 #8BB227
monochromatic
#111E4E #1C3280 #2745B2 #4161D5 #738BE0

Accessibility & contrast

On white

8.14
#2745B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2745B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2745B2
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2745B2#FFFFFF#000000##FFFFFF
##2745B21.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#0049B0
Tritanopia (blue-blind)
#006175
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2745b2;
/* rgb */ color: rgb(39, 69, 178);
/* oklch */ color: oklch(44.0% 0.177 266.9);
Tailwind
colors: {
  custom: {
    50: '#7878ca',
    500: '#2745b2',
    950: '#000000',
  },
}
SCSS
$custom: #2745b2;
$custom-light: #7878ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2745b2",
  "rgb": {
    "r": 39,
    "g": 69,
    "b": 178
  },
  "hsl": {
    "h": 227.05,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.44017,
    "c": 0.17655,
    "h": 266.9
  },
  "luminance": 0.07902
}

Semantic roles & 50–950 ramp

primary
#2745B2
secondary
#C8B46D
accent
#C341E7
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2745B2

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

Preview Lab → · Contrast checker → · Palette generator →

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