#4276C1#4276C1

#4276C1 is a mid, vivid blue. Relative luminance 0.180; OKLCH L 56.6% C 0.129 H 257.7°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#4276C1
RGBrgb(66, 118, 193)
HSLhsl(215, 51%, 51%)
HSVhsv(215, 66%, 76%)
CMYKcmyk(65.8%, 38.9%, 0%, 24.3%)
CIE-LABlab(49.45, 6.85, -44.42)
CIE-LCHlch(49.45, 44.95, 278.76°)
OKLaboklab(56.61% -0.0276 -0.1264)
OKLCHoklch(56.61% 0.129 257.7)
XYZxyz(18.3474, 17.9636, 52.9421)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4276C1 #C18D42
analogous
#42B6C1 #4276C1 #4D42C1
triadic
#4276C1 #C14276 #76C142
tetradic
#4276C1 #C142B6 #C18D42 #42C14D
square
#4276C1 #C142B6 #C18D42 #42C14D
split-complementary
#4276C1 #C14D42 #B6C142
monochromatic
#223E67 #315A95 #4276C1 #7097D0 #9EB9DF

Accessibility & contrast

On white

4.57
#4276C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#4276C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4276C1
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4276C1#FFFFFF#000000##000000
##4276C11.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#547CC4
Deuteranopia (green-blind)
#4270BF
Tritanopia (blue-blind)
#008792
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4276c1;
/* rgb */ color: rgb(66, 118, 193);
/* oklch */ color: oklch(56.6% 0.129 257.7);
Tailwind
colors: {
  custom: {
    50: '#839dd4',
    500: '#4276c1',
    950: '#000000',
  },
}
SCSS
$custom: #4276c1;
$custom-light: #839dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#4276c1",
  "rgb": {
    "r": 66,
    "g": 118,
    "b": 193
  },
  "hsl": {
    "h": 215.433,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.56605,
    "c": 0.12936,
    "h": 257.7
  },
  "luminance": 0.17965
}

Semantic roles & 50–950 ramp

primary
#4276C1
secondary
#CCB593
accent
#A14EDA
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4276C1

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

Preview Lab → · Contrast checker → · Palette generator →

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