#2745AB#2745AB

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

Color values

HEX#2745AB
RGBrgb(39, 69, 171)
HSLhsl(226, 63%, 41%)
HSVhsv(226, 77%, 67%)
CMYKcmyk(77.2%, 59.6%, 0%, 32.9%)
CIE-LABlab(33.19, 26.44, -57.76)
CIE-LCHlch(33.19, 63.53, 294.60°)
OKLaboklab(43.4% -0.0098 -0.1668)
OKLCHoklch(43.4% 0.167 266.6)
XYZxyz(10.3129, 7.6267, 39.4488)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2745AB #AB8D27
analogous
#2787AB #2745AB #4B27AB
triadic
#2745AB #AB2745 #45AB27
tetradic
#2745AB #AB2787 #AB8D27 #27AB4B
square
#2745AB #AB2787 #AB8D27 #27AB4B
split-complementary
#2745AB #AB4B27 #87AB27
monochromatic
#101D47 #1C3179 #2745AB #3D5FD3 #6E88DE

Accessibility & contrast

On white

8.31
#2745AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2745AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2745AB#FFFFFF#000000##FFFFFF
##2745AB1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AE
Deuteranopia (green-blind)
#0048A9
Tritanopia (blue-blind)
#005F71
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2745ab;
/* rgb */ color: rgb(39, 69, 171);
/* oklch */ color: oklch(43.4% 0.167 266.6);
Tailwind
colors: {
  custom: {
    50: '#7678c5',
    500: '#2745ab',
    950: '#000000',
  },
}
SCSS
$custom: #2745ab;
$custom-light: #7678c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2745ab",
  "rgb": {
    "r": 39,
    "g": 69,
    "b": 171
  },
  "hsl": {
    "h": 226.364,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.43403,
    "c": 0.16714,
    "h": 266.6
  },
  "luminance": 0.07628
}

Semantic roles & 50–950 ramp

primary
#2745AB
secondary
#C5B069
accent
#C142E6
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2745AB

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

Preview Lab → · Contrast checker → · Palette generator →

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