#2745BA#2745BA

#2745BA is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.7% C 0.187 H 267.0°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#2745BA
RGBrgb(39, 69, 186)
HSLhsl(228, 65%, 44%)
HSVhsv(228, 79%, 73%)
CMYKcmyk(79%, 62.9%, 0%, 27.1%)
CIE-LABlab(34.46, 32.10, -64.59)
CIE-LCHlch(34.46, 72.13, 296.43°)
OKLaboklab(44.74% -0.0097 -0.1869)
OKLCHoklch(44.74% 0.187 267)
XYZxyz(11.8247, 8.2314, 47.4105)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2745BA #BA9C27
analogous
#278FBA #2745BA #5327BA
triadic
#2745BA #BA2745 #45BA27
tetradic
#2745BA #BA278F #BA9C27 #27BA53
square
#2745BA #BA278F #BA9C27 #27BA53
split-complementary
#2745BA #BA5327 #8FBA27
monochromatic
#121F55 #1C3287 #2745BA #4664D8 #798EE3

Accessibility & contrast

On white

7.93
#2745BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2745BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2745BA
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2745BA#FFFFFF#000000##FFFFFF
##2745BA1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BE
Deuteranopia (green-blind)
#004AB8
Tritanopia (blue-blind)
#006479
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2745ba;
/* rgb */ color: rgb(39, 69, 186);
/* oklch */ color: oklch(44.7% 0.187 267.0);
Tailwind
colors: {
  custom: {
    50: '#7a78d0',
    500: '#2745ba',
    950: '#000000',
  },
}
SCSS
$custom: #2745ba;
$custom-light: #7a78d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2745ba",
  "rgb": {
    "r": 39,
    "g": 69,
    "b": 186
  },
  "hsl": {
    "h": 227.755,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44737,
    "c": 0.18711,
    "h": 267
  },
  "luminance": 0.08233
}

Semantic roles & 50–950 ramp

primary
#2745BA
secondary
#CBB972
accent
#C640E8
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2745BA

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

Preview Lab → · Contrast checker → · Palette generator →

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