#2745A3#2745A3

#2745A3 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.7% C 0.156 H 266.3°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#2745A3
RGBrgb(39, 69, 163)
HSLhsl(225, 61%, 40%)
HSVhsv(225, 76%, 64%)
CMYKcmyk(76.1%, 57.7%, 0%, 36.1%)
CIE-LABlab(32.55, 23.38, -54.02)
CIE-LCHlch(32.55, 58.86, 293.40°)
OKLaboklab(42.72% -0.01 -0.1558)
OKLCHoklch(42.72% 0.156 266.3)
XYZxyz(9.5734, 7.3309, 35.5537)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2745A3 #A38527
analogous
#2783A3 #2745A3 #4727A3
triadic
#2745A3 #A32745 #45A327
tetradic
#2745A3 #A32783 #A38527 #27A347
square
#2745A3 #A32783 #A38527 #27A347
split-complementary
#2745A3 #A34727 #83A327
monochromatic
#0F1B40 #1B3072 #2745A3 #385DCF #6985DB

Accessibility & contrast

On white

8.51
#2745A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##2745A3#FFFFFF#000000##FFFFFF
##2745A31.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A6
Deuteranopia (green-blind)
#0047A1
Tritanopia (blue-blind)
#005C6D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2745a3;
/* rgb */ color: rgb(39, 69, 163);
/* oklch */ color: oklch(42.7% 0.156 266.3);
Tailwind
colors: {
  custom: {
    50: '#7478bf',
    500: '#2745a3',
    950: '#000000',
  },
}
SCSS
$custom: #2745a3;
$custom-light: #7478bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2745a3",
  "rgb": {
    "r": 39,
    "g": 69,
    "b": 163
  },
  "hsl": {
    "h": 225.484,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.42719,
    "c": 0.15617,
    "h": 266.3
  },
  "luminance": 0.07332
}

Semantic roles & 50–950 ramp

primary
#2745A3
secondary
#C1AB64
accent
#BD43E4
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2745A3

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

Preview Lab → · Contrast checker → · Palette generator →

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