#2745B6#2745B6

#2745B6 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.4% C 0.182 H 266.9°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#2745B6
RGBrgb(39, 69, 182)
HSLhsl(227, 65%, 43%)
HSVhsv(227, 79%, 71%)
CMYKcmyk(78.6%, 62.1%, 0%, 28.6%)
CIE-LABlab(34.12, 30.61, -62.79)
CIE-LCHlch(34.12, 69.85, 295.99°)
OKLaboklab(44.38% -0.0097 -0.1816)
OKLCHoklch(44.38% 0.182 266.9)
XYZxyz(11.4054, 8.0637, 45.2022)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2745B6 #B69827
analogous
#278CB6 #2745B6 #5127B6
triadic
#2745B6 #B62745 #45B627
tetradic
#2745B6 #B6278C #B69827 #27B651
square
#2745B6 #B6278C #B69827 #27B651
split-complementary
#2745B6 #B65127 #8CB627
monochromatic
#111F51 #1C3284 #2745B6 #4362D7 #768CE2

Accessibility & contrast

On white

8.04
#2745B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2745B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2745B6
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2745B6#FFFFFF#000000##FFFFFF
##2745B61.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BA
Deuteranopia (green-blind)
#004AB4
Tritanopia (blue-blind)
#006277
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2745b6;
/* rgb */ color: rgb(39, 69, 182);
/* oklch */ color: oklch(44.4% 0.182 266.9);
Tailwind
colors: {
  custom: {
    50: '#7978cd',
    500: '#2745b6',
    950: '#000000',
  },
}
SCSS
$custom: #2745b6;
$custom-light: #7978cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2745b6",
  "rgb": {
    "r": 39,
    "g": 69,
    "b": 182
  },
  "hsl": {
    "h": 227.413,
    "s": 64.706,
    "l": 43.333
  },
  "oklch": {
    "l": 0.44375,
    "c": 0.18186,
    "h": 266.9
  },
  "luminance": 0.08065
}

Semantic roles & 50–950 ramp

primary
#2745B6
secondary
#C9B670
accent
#C540E8
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2745B6

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

Preview Lab → · Contrast checker → · Palette generator →

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