#2745A2#2745A2

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

Color values

HEX#2745A2
RGBrgb(39, 69, 162)
HSLhsl(225, 61%, 39%)
HSVhsv(225, 76%, 64%)
CMYKcmyk(75.9%, 57.4%, 0%, 36.5%)
CIE-LABlab(32.47, 22.99, -53.54)
CIE-LCHlch(32.47, 58.27, 293.24°)
OKLaboklab(42.64% -0.0101 -0.1545)
OKLCHoklch(42.64% 0.155 266.3)
XYZxyz(9.4841, 7.2952, 35.0837)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2745A2 #A28427
analogous
#2783A2 #2745A2 #4727A2
triadic
#2745A2 #A22745 #45A227
tetradic
#2745A2 #A22783 #A28427 #27A247
square
#2745A2 #A22783 #A28427 #27A247
split-complementary
#2745A2 #A24727 #83A227
monochromatic
#0F1B3F #1B3071 #2745A2 #375CCF #6984DB

Accessibility & contrast

On white

8.54
#2745A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2745A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2745A2#FFFFFF#000000##FFFFFF
##2745A21.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A5
Deuteranopia (green-blind)
#0047A0
Tritanopia (blue-blind)
#005C6C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2745a2;
/* rgb */ color: rgb(39, 69, 162);
/* oklch */ color: oklch(42.6% 0.155 266.3);
Tailwind
colors: {
  custom: {
    50: '#7478be',
    500: '#2745a2',
    950: '#000000',
  },
}
SCSS
$custom: #2745a2;
$custom-light: #7478be;
$custom-dark: #000000;
JSON
{
  "hex": "#2745a2",
  "rgb": {
    "r": 39,
    "g": 69,
    "b": 162
  },
  "hsl": {
    "h": 225.366,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.42635,
    "c": 0.15479,
    "h": 266.3
  },
  "luminance": 0.07296
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2745A2

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

Preview Lab → · Contrast checker → · Palette generator →

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