#2754BE#2754BE

#2754BE is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.0% C 0.174 H 263.7°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#2754BE
RGBrgb(39, 84, 190)
HSLhsl(222, 66%, 45%)
HSVhsv(222, 79%, 75%)
CMYKcmyk(79.5%, 55.8%, 0%, 25.5%)
CIE-LABlab(38.70, 23.77, -60.01)
CIE-LCHlch(38.70, 64.55, 291.61°)
OKLaboklab(48.01% -0.0191 -0.1732)
OKLCHoklch(48.01% 0.174 263.7)
XYZxyz(13.2980, 10.4881, 50.0288)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2754BE #BE9127
analogous
#27A0BE #2754BE #4527BE
triadic
#2754BE #BE2754 #54BE27
tetradic
#2754BE #BE27A0 #BE9127 #27BE45
square
#2754BE #BE27A0 #BE9127 #27BE45
split-complementary
#2754BE #BE4527 #A0BE27
monochromatic
#122758 #1D3E8B #2754BE #4974DA #7B9BE4

Accessibility & contrast

On white

6.78
#2754BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#2754BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2754BE
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2754BE#FFFFFF#000000##FFFFFF
##2754BE1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C2
Deuteranopia (green-blind)
#0054BC
Tritanopia (blue-blind)
#006E81
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2754be;
/* rgb */ color: rgb(39, 84, 190);
/* oklch */ color: oklch(48.0% 0.174 263.7);
Tailwind
colors: {
  custom: {
    50: '#7983d2',
    500: '#2754be',
    950: '#000000',
  },
}
SCSS
$custom: #2754be;
$custom-light: #7983d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2754be",
  "rgb": {
    "r": 39,
    "g": 84,
    "b": 190
  },
  "hsl": {
    "h": 222.119,
    "s": 65.939,
    "l": 44.902
  },
  "oklch": {
    "l": 0.4801,
    "c": 0.17426,
    "h": 263.7
  },
  "luminance": 0.1049
}

Semantic roles & 50–950 ramp

primary
#2754BE
secondary
#CCB275
accent
#B63FE9
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2754BE

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

Preview Lab → · Contrast checker → · Palette generator →

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