#2745AC#2745AC

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

Color values

HEX#2745AC
RGBrgb(39, 69, 172)
HSLhsl(226, 63%, 41%)
HSVhsv(226, 77%, 67%)
CMYKcmyk(77.3%, 59.9%, 0%, 32.5%)
CIE-LABlab(33.28, 26.82, -58.23)
CIE-LCHlch(33.28, 64.11, 294.73°)
OKLaboklab(43.49% -0.0097 -0.1682)
OKLCHoklch(43.49% 0.168 266.7)
XYZxyz(10.4086, 7.6650, 39.9526)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2745AC #AC8E27
analogous
#2788AC #2745AC #4C27AC
triadic
#2745AC #AC2745 #45AC27
tetradic
#2745AC #AC2788 #AC8E27 #27AC4C
square
#2745AC #AC2788 #AC8E27 #27AC4C
split-complementary
#2745AC #AC4C27 #88AC27
monochromatic
#101D48 #1C317A #2745AC #3D5FD3 #6F88DE

Accessibility & contrast

On white

8.29
#2745AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##2745AC#FFFFFF#000000##FFFFFF
##2745AC1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AF
Deuteranopia (green-blind)
#0048AA
Tritanopia (blue-blind)
#005F71
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2745ac;
/* rgb */ color: rgb(39, 69, 172);
/* oklch */ color: oklch(43.5% 0.168 266.7);
Tailwind
colors: {
  custom: {
    50: '#7678c6',
    500: '#2745ac',
    950: '#000000',
  },
}
SCSS
$custom: #2745ac;
$custom-light: #7678c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2745ac",
  "rgb": {
    "r": 39,
    "g": 69,
    "b": 172
  },
  "hsl": {
    "h": 226.466,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4349,
    "c": 0.16849,
    "h": 266.7
  },
  "luminance": 0.07666
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2745AC

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

Preview Lab → · Contrast checker → · Palette generator →

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