#2745A4#2745A4

#2745A4 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.8% C 0.158 H 266.4°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#2745A4
RGBrgb(39, 69, 164)
HSLhsl(226, 62%, 40%)
HSVhsv(226, 76%, 64%)
CMYKcmyk(76.2%, 57.9%, 0%, 35.7%)
CIE-LABlab(32.63, 23.76, -54.49)
CIE-LCHlch(32.63, 59.44, 293.56°)
OKLaboklab(42.8% -0.01 -0.1572)
OKLCHoklch(42.8% 0.158 266.4)
XYZxyz(9.6633, 7.3669, 36.0274)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2745A4 #A48627
analogous
#2784A4 #2745A4 #4827A4
triadic
#2745A4 #A42745 #45A427
tetradic
#2745A4 #A42784 #A48627 #27A448
square
#2745A4 #A42784 #A48627 #27A448
split-complementary
#2745A4 #A44827 #84A427
monochromatic
#0F1B41 #1B3073 #2745A4 #385DD0 #6A85DC

Accessibility & contrast

On white

8.49
#2745A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2745A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2745A4
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2745A4#FFFFFF#000000##FFFFFF
##2745A41.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A7
Deuteranopia (green-blind)
#0047A2
Tritanopia (blue-blind)
#005D6D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2745a4;
/* rgb */ color: rgb(39, 69, 164);
/* oklch */ color: oklch(42.8% 0.158 266.4);
Tailwind
colors: {
  custom: {
    50: '#7478c0',
    500: '#2745a4',
    950: '#000000',
  },
}
SCSS
$custom: #2745a4;
$custom-light: #7478c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2745a4",
  "rgb": {
    "r": 39,
    "g": 69,
    "b": 164
  },
  "hsl": {
    "h": 225.6,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.42803,
    "c": 0.15756,
    "h": 266.4
  },
  "luminance": 0.07368
}

Semantic roles & 50–950 ramp

primary
#2745A4
secondary
#C2AC65
accent
#BE43E5
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2745A4

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

Preview Lab → · Contrast checker → · Palette generator →

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