#276BCC#276BCC

#276BCC is a mid, vivid blue. Relative luminance 0.153; OKLCH L 53.9% C 0.165 H 258.1°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#276BCC
RGBrgb(39, 107, 204)
HSLhsl(215, 68%, 48%)
HSVhsv(215, 81%, 80%)
CMYKcmyk(80.9%, 47.5%, 0%, 20%)
CIE-LABlab(46.05, 14.21, -56.23)
CIE-LCHlch(46.05, 58.00, 284.18°)
OKLaboklab(53.92% -0.034 -0.1616)
OKLCHoklch(53.92% 0.165 258.1)
XYZxyz(16.9895, 15.3043, 59.1736)
Luminance0.1531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#276BCC #CC8827
analogous
#27BDCC #276BCC #3627CC
triadic
#276BCC #CC276B #6BCC27
tetradic
#276BCC #CC27BD #CC8827 #27CC36
square
#276BCC #CC27BD #CC8827 #27CC36
split-complementary
#276BCC #CC3627 #BDCC27
monochromatic
#133565 #1D5099 #276BCC #528CDE #86AEE8

Accessibility & contrast

On white

5.17
#276BCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#276BCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #276BCC
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##276BCC#FFFFFF#000000##FFFFFF
##276BCC1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3475D0
Deuteranopia (green-blind)
#0066CA
Tritanopia (blue-blind)
#008291
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #276bcc;
/* rgb */ color: rgb(39, 107, 204);
/* oklch */ color: oklch(53.9% 0.165 258.1);
Tailwind
colors: {
  custom: {
    50: '#7c94dc',
    500: '#276bcc',
    950: '#000000',
  },
}
SCSS
$custom: #276bcc;
$custom-light: #7c94dc;
$custom-dark: #000000;
JSON
{
  "hex": "#276bcc",
  "rgb": {
    "r": 39,
    "g": 107,
    "b": 204
  },
  "hsl": {
    "h": 215.273,
    "s": 67.901,
    "l": 47.647
  },
  "oklch": {
    "l": 0.53922,
    "c": 0.16518,
    "h": 258.1
  },
  "luminance": 0.15306
}

Semantic roles & 50–950 ramp

primary
#276BCC
secondary
#D1AF7E
accent
#A33DEB
background
#F8F9FD
surface
#EFF1FB
border
#CACBD4
text
#0B0D15
muted
#7C7E83

Preview Lab

Preview with #276BCC

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

Preview Lab → · Contrast checker → · Palette generator →

#276BCC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva