#2745A1#2745A1

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

Color values

HEX#2745A1
RGBrgb(39, 69, 161)
HSLhsl(225, 61%, 39%)
HSVhsv(225, 76%, 63%)
CMYKcmyk(75.8%, 57.1%, 0%, 36.9%)
CIE-LABlab(32.39, 22.61, -53.07)
CIE-LCHlch(32.39, 57.68, 293.07°)
OKLaboklab(42.55% -0.0101 -0.1531)
OKLCHoklch(42.55% 0.153 266.2)
XYZxyz(9.3956, 7.2598, 34.6174)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2745A1 #A18327
analogous
#2782A1 #2745A1 #4627A1
triadic
#2745A1 #A12745 #45A127
tetradic
#2745A1 #A12782 #A18327 #27A146
square
#2745A1 #A12782 #A18327 #27A146
split-complementary
#2745A1 #A14627 #82A127
monochromatic
#0F1B3E #1B3070 #2745A1 #375CCE #6884DA

Accessibility & contrast

On white

8.56
#2745A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2745A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2745A1#FFFFFF#000000##FFFFFF
##2745A11.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A4
Deuteranopia (green-blind)
#00479F
Tritanopia (blue-blind)
#005C6C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2745a1;
/* rgb */ color: rgb(39, 69, 161);
/* oklch */ color: oklch(42.6% 0.153 266.2);
Tailwind
colors: {
  custom: {
    50: '#7378be',
    500: '#2745a1',
    950: '#000000',
  },
}
SCSS
$custom: #2745a1;
$custom-light: #7378be;
$custom-dark: #000000;
JSON
{
  "hex": "#2745a1",
  "rgb": {
    "r": 39,
    "g": 69,
    "b": 161
  },
  "hsl": {
    "h": 225.246,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.42551,
    "c": 0.1534,
    "h": 266.2
  },
  "luminance": 0.07261
}

Semantic roles & 50–950 ramp

primary
#2745A1
secondary
#C0AA63
accent
#BD44E4
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2745A1

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

Preview Lab → · Contrast checker → · Palette generator →

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