#2754BF#2754BF

#2754BF is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.1% C 0.176 H 263.8°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#2754BF
RGBrgb(39, 84, 191)
HSLhsl(222, 66%, 45%)
HSVhsv(222, 80%, 75%)
CMYKcmyk(79.6%, 56%, 0%, 25.1%)
CIE-LABlab(38.78, 24.16, -60.47)
CIE-LCHlch(38.78, 65.12, 291.77°)
OKLaboklab(48.09% -0.019 -0.1746)
OKLCHoklch(48.09% 0.176 263.8)
XYZxyz(13.4076, 10.5320, 50.6064)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2754BF #BF9227
analogous
#27A0BF #2754BF #4627BF
triadic
#2754BF #BF2754 #54BF27
tetradic
#2754BF #BF27A0 #BF9227 #27BF46
square
#2754BF #BF27A0 #BF9227 #27BF46
split-complementary
#2754BF #BF4627 #A0BF27
monochromatic
#122759 #1D3E8C #2754BF #4974DA #7C9BE4

Accessibility & contrast

On white

6.76
#2754BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#2754BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2754BF
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2754BF#FFFFFF#000000##FFFFFF
##2754BF1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#0055BD
Tritanopia (blue-blind)
#006F81
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2754bf;
/* rgb */ color: rgb(39, 84, 191);
/* oklch */ color: oklch(48.1% 0.176 263.8);
Tailwind
colors: {
  custom: {
    50: '#7a83d3',
    500: '#2754bf',
    950: '#000000',
  },
}
SCSS
$custom: #2754bf;
$custom-light: #7a83d3;
$custom-dark: #000000;
JSON
{
  "hex": "#2754bf",
  "rgb": {
    "r": 39,
    "g": 84,
    "b": 191
  },
  "hsl": {
    "h": 222.237,
    "s": 66.087,
    "l": 45.098
  },
  "oklch": {
    "l": 0.48091,
    "c": 0.17559,
    "h": 263.8
  },
  "luminance": 0.10534
}

Semantic roles & 50–950 ramp

primary
#2754BF
secondary
#CCB375
accent
#B73FE9
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2754BF

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

Preview Lab → · Contrast checker → · Palette generator →

#2754BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva