#2750B4#2750B4

#2750B4 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.4% C 0.166 H 264.1°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#2750B4
RGBrgb(39, 80, 180)
HSLhsl(223, 64%, 43%)
HSVhsv(223, 78%, 71%)
CMYKcmyk(78.3%, 55.6%, 0%, 29.4%)
CIE-LABlab(36.86, 22.57, -57.14)
CIE-LCHlch(36.86, 61.43, 291.56°)
OKLaboklab(46.38% -0.017 -0.1648)
OKLCHoklch(46.38% 0.166 264.1)
XYZxyz(11.9407, 9.4626, 44.3683)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2750B4 #B48B27
analogous
#2797B4 #2750B4 #4427B4
triadic
#2750B4 #B42750 #50B427
tetradic
#2750B4 #B42797 #B48B27 #27B444
square
#2750B4 #B42797 #B48B27 #27B444
split-complementary
#2750B4 #B44427 #97B427
monochromatic
#11234F #1C3A82 #2750B4 #426DD6 #7494E1

Accessibility & contrast

On white

7.26
#2750B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#2750B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2750B4
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2750B4#FFFFFF#000000##FFFFFF
##2750B41.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB7
Deuteranopia (green-blind)
#0051B2
Tritanopia (blue-blind)
#00697A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2750b4;
/* rgb */ color: rgb(39, 80, 180);
/* oklch */ color: oklch(46.4% 0.166 264.1);
Tailwind
colors: {
  custom: {
    50: '#7780cb',
    500: '#2750b4',
    950: '#000000',
  },
}
SCSS
$custom: #2750b4;
$custom-light: #7780cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2750b4",
  "rgb": {
    "r": 39,
    "g": 80,
    "b": 180
  },
  "hsl": {
    "h": 222.553,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.46378,
    "c": 0.16571,
    "h": 264.1
  },
  "luminance": 0.09464
}

Semantic roles & 50–950 ramp

primary
#2750B4
secondary
#C8AE6F
accent
#B740E7
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2750B4

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

Preview Lab → · Contrast checker → · Palette generator →

#2750B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva