#4276D2#4276D2

#4276D2 is a mid, vivid blue. Relative luminance 0.188; OKLCH L 57.7% C 0.152 H 260.9°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#4276D2
RGBrgb(66, 118, 210)
HSLhsl(218, 62%, 54%)
HSVhsv(218, 69%, 82%)
CMYKcmyk(68.6%, 43.8%, 0%, 17.6%)
CIE-LABlab(50.41, 12.88, -52.60)
CIE-LCHlch(50.41, 54.15, 283.76°)
OKLaboklab(57.66% -0.0241 -0.1504)
OKLCHoklch(57.66% 0.152 260.9)
XYZxyz(20.3539, 18.7662, 63.5098)
Luminance0.1877 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4276D2 #D29E42
analogous
#42BED2 #4276D2 #5642D2
triadic
#4276D2 #D24276 #76D242
tetradic
#4276D2 #D242BE #D29E42 #42D256
square
#4276D2 #D242BE #D29E42 #42D256
split-complementary
#4276D2 #D25642 #BED242
monochromatic
#1E407C #2959AD #4276D2 #739ADE #A5BEEA

Accessibility & contrast

On white

4.42
#4276D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#4276D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4276D2
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4276D2#FFFFFF#000000##000000
##4276D21.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#497FD6
Deuteranopia (green-blind)
#3072D0
Tritanopia (blue-blind)
#008B9A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4276d2;
/* rgb */ color: rgb(66, 118, 210);
/* oklch */ color: oklch(57.7% 0.152 260.9);
Tailwind
colors: {
  custom: {
    50: '#869ce0',
    500: '#4276d2',
    950: '#000000',
  },
}
SCSS
$custom: #4276d2;
$custom-light: #869ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#4276d2",
  "rgb": {
    "r": 66,
    "g": 118,
    "b": 210
  },
  "hsl": {
    "h": 218.333,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.5766,
    "c": 0.15231,
    "h": 260.9
  },
  "luminance": 0.18768
}

Semantic roles & 50–950 ramp

primary
#4276D2
secondary
#D7C099
accent
#AA43E5
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4276D2

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

Preview Lab → · Contrast checker → · Palette generator →

#4276D2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva