#2745B4#2745B4

#2745B4 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.2% C 0.179 H 266.9°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#2745B4
RGBrgb(39, 69, 180)
HSLhsl(227, 64%, 43%)
HSVhsv(227, 78%, 71%)
CMYKcmyk(78.3%, 61.7%, 0%, 29.4%)
CIE-LABlab(33.94, 29.85, -61.89)
CIE-LCHlch(33.94, 68.71, 295.75°)
OKLaboklab(44.2% -0.0097 -0.1789)
OKLCHoklch(44.2% 0.179 266.9)
XYZxyz(11.2002, 7.9816, 44.1215)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2745B4 #B49627
analogous
#278BB4 #2745B4 #4F27B4
triadic
#2745B4 #B42745 #45B427
tetradic
#2745B4 #B4278B #B49627 #27B44F
square
#2745B4 #B4278B #B49627 #27B44F
split-complementary
#2745B4 #B44F27 #8BB427
monochromatic
#111E4F #1C3282 #2745B4 #4262D6 #748CE1

Accessibility & contrast

On white

8.09
#2745B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#2745B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2745B4
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2745B4#FFFFFF#000000##FFFFFF
##2745B41.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B8
Deuteranopia (green-blind)
#0049B2
Tritanopia (blue-blind)
#006276
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2745b4;
/* rgb */ color: rgb(39, 69, 180);
/* oklch */ color: oklch(44.2% 0.179 266.9);
Tailwind
colors: {
  custom: {
    50: '#7878cb',
    500: '#2745b4',
    950: '#000000',
  },
}
SCSS
$custom: #2745b4;
$custom-light: #7878cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2745b4",
  "rgb": {
    "r": 39,
    "g": 69,
    "b": 180
  },
  "hsl": {
    "h": 227.234,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.44195,
    "c": 0.17921,
    "h": 266.9
  },
  "luminance": 0.07983
}

Semantic roles & 50–950 ramp

primary
#2745B4
secondary
#C8B56F
accent
#C440E7
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2745B4

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

Preview Lab → · Contrast checker → · Palette generator →

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