#2745AE#2745AE

#2745AE is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.7% C 0.171 H 266.7°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#2745AE
RGBrgb(39, 69, 174)
HSLhsl(227, 63%, 42%)
HSVhsv(227, 78%, 68%)
CMYKcmyk(77.6%, 60.3%, 0%, 31.8%)
CIE-LABlab(33.44, 27.58, -59.15)
CIE-LCHlch(33.44, 65.26, 295.00°)
OKLaboklab(43.66% -0.0097 -0.1709)
OKLCHoklch(43.66% 0.171 266.7)
XYZxyz(10.6021, 7.7424, 40.9719)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2745AE #AE9027
analogous
#2789AE #2745AE #4D27AE
triadic
#2745AE #AE2745 #45AE27
tetradic
#2745AE #AE2789 #AE9027 #27AE4D
square
#2745AE #AE2789 #AE9027 #27AE4D
split-complementary
#2745AE #AE4D27 #89AE27
monochromatic
#111D4A #1C317C #2745AE #3E60D4 #7089DF

Accessibility & contrast

On white

8.24
#2745AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2745AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2745AE
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2745AE#FFFFFF#000000##FFFFFF
##2745AE1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B1
Deuteranopia (green-blind)
#0049AC
Tritanopia (blue-blind)
#006073
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2745ae;
/* rgb */ color: rgb(39, 69, 174);
/* oklch */ color: oklch(43.7% 0.171 266.7);
Tailwind
colors: {
  custom: {
    50: '#7778c7',
    500: '#2745ae',
    950: '#000000',
  },
}
SCSS
$custom: #2745ae;
$custom-light: #7778c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2745ae",
  "rgb": {
    "r": 39,
    "g": 69,
    "b": 174
  },
  "hsl": {
    "h": 226.667,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.43664,
    "c": 0.17119,
    "h": 266.7
  },
  "luminance": 0.07744
}

Semantic roles & 50–950 ramp

primary
#2745AE
secondary
#C6B26B
accent
#C241E6
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2745AE

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

Preview Lab → · Contrast checker → · Palette generator →

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