#2745B3#2745B3

#2745B3 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.1% C 0.178 H 266.9°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#2745B3
RGBrgb(39, 69, 179)
HSLhsl(227, 64%, 43%)
HSVhsv(227, 78%, 70%)
CMYKcmyk(78.2%, 61.5%, 0%, 29.8%)
CIE-LABlab(33.86, 29.48, -61.43)
CIE-LCHlch(33.86, 68.14, 295.63°)
OKLaboklab(44.11% -0.0097 -0.1776)
OKLCHoklch(44.11% 0.178 266.9)
XYZxyz(11.0987, 7.9410, 43.5869)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2745B3 #B39527
analogous
#278BB3 #2745B3 #4F27B3
triadic
#2745B3 #B32745 #45B327
tetradic
#2745B3 #B3278B #B39527 #27B34F
square
#2745B3 #B3278B #B39527 #27B34F
split-complementary
#2745B3 #B34F27 #8BB327
monochromatic
#111E4E #1C3281 #2745B3 #4161D6 #748BE1

Accessibility & contrast

On white

8.11
#2745B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2745B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2745B3
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2745B3#FFFFFF#000000##FFFFFF
##2745B31.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B7
Deuteranopia (green-blind)
#0049B1
Tritanopia (blue-blind)
#006175
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2745b3;
/* rgb */ color: rgb(39, 69, 179);
/* oklch */ color: oklch(44.1% 0.178 266.9);
Tailwind
colors: {
  custom: {
    50: '#7878cb',
    500: '#2745b3',
    950: '#000000',
  },
}
SCSS
$custom: #2745b3;
$custom-light: #7878cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2745b3",
  "rgb": {
    "r": 39,
    "g": 69,
    "b": 179
  },
  "hsl": {
    "h": 227.143,
    "s": 64.22,
    "l": 42.745
  },
  "oklch": {
    "l": 0.44106,
    "c": 0.17788,
    "h": 266.9
  },
  "luminance": 0.07942
}

Semantic roles & 50–950 ramp

primary
#2745B3
secondary
#C8B56E
accent
#C441E7
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2745B3

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

Preview Lab → · Contrast checker → · Palette generator →

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