#4276CB#4276CB

#4276CB is a mid, vivid blue. Relative luminance 0.184; OKLCH L 57.2% C 0.143 H 259.7°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#4276CB
RGBrgb(66, 118, 203)
HSLhsl(217, 57%, 53%)
HSVhsv(217, 67%, 80%)
CMYKcmyk(67.5%, 41.9%, 0%, 20.4%)
CIE-LABlab(50.01, 10.38, -49.26)
CIE-LCHlch(50.01, 50.34, 281.90°)
OKLaboklab(57.22% -0.0255 -0.1406)
OKLCHoklch(57.22% 0.143 259.7)
XYZxyz(19.5008, 18.4250, 59.0170)
Luminance0.1843 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4276CB #CB9742
analogous
#42BBCB #4276CB #5242CB
triadic
#4276CB #CB4276 #76CB42
tetradic
#4276CB #CB42BB #CB9742 #42CB52
square
#4276CB #CB42BB #CB9742 #42CB52
split-complementary
#4276CB #CB5242 #BBCB42
monochromatic
#203F73 #2D5AA3 #4276CB #7299D8 #A2BCE5

Accessibility & contrast

On white

4.48
#4276CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#4276CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4276CB
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4276CB#FFFFFF#000000##000000
##4276CB1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7ECE
Deuteranopia (green-blind)
#3871C9
Tritanopia (blue-blind)
#008A96
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4276cb;
/* rgb */ color: rgb(66, 118, 203);
/* oklch */ color: oklch(57.2% 0.143 259.7);
Tailwind
colors: {
  custom: {
    50: '#859ddb',
    500: '#4276cb',
    950: '#000000',
  },
}
SCSS
$custom: #4276cb;
$custom-light: #859ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#4276cb",
  "rgb": {
    "r": 66,
    "g": 118,
    "b": 203
  },
  "hsl": {
    "h": 217.226,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.57216,
    "c": 0.14287,
    "h": 259.7
  },
  "luminance": 0.18427
}

Semantic roles & 50–950 ramp

primary
#4276CB
secondary
#D2BC97
accent
#A648E0
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4276CB

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

Preview Lab → · Contrast checker → · Palette generator →

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