#2745AA#2745AA

#2745AA is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.3% C 0.166 H 266.6°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#2745AA
RGBrgb(39, 69, 170)
HSLhsl(226, 63%, 41%)
HSVhsv(226, 77%, 67%)
CMYKcmyk(77.1%, 59.4%, 0%, 33.3%)
CIE-LABlab(33.11, 26.06, -57.30)
CIE-LCHlch(33.11, 62.95, 294.46°)
OKLaboklab(43.32% -0.0098 -0.1655)
OKLCHoklch(43.32% 0.166 266.6)
XYZxyz(10.2180, 7.5887, 38.9487)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2745AA #AA8C27
analogous
#2786AA #2745AA #4B27AA
triadic
#2745AA #AA2745 #45AA27
tetradic
#2745AA #AA2786 #AA8C27 #27AA4B
square
#2745AA #AA2786 #AA8C27 #27AA4B
split-complementary
#2745AA #AA4B27 #86AA27
monochromatic
#101D46 #1C3178 #2745AA #3C5ED2 #6E87DE

Accessibility & contrast

On white

8.34
#2745AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2745AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2745AA#FFFFFF#000000##FFFFFF
##2745AA1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AD
Deuteranopia (green-blind)
#0048A8
Tritanopia (blue-blind)
#005E70
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2745aa;
/* rgb */ color: rgb(39, 69, 170);
/* oklch */ color: oklch(43.3% 0.166 266.6);
Tailwind
colors: {
  custom: {
    50: '#7678c4',
    500: '#2745aa',
    950: '#000000',
  },
}
SCSS
$custom: #2745aa;
$custom-light: #7678c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2745aa",
  "rgb": {
    "r": 39,
    "g": 69,
    "b": 170
  },
  "hsl": {
    "h": 226.26,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.43316,
    "c": 0.16578,
    "h": 266.6
  },
  "luminance": 0.0759
}

Semantic roles & 50–950 ramp

primary
#2745AA
secondary
#C4AF69
accent
#C042E6
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2745AA

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

Preview Lab → · Contrast checker → · Palette generator →

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