#4276CF#4276CF

#4276CF is a mid, vivid blue. Relative luminance 0.186; OKLCH L 57.5% C 0.148 H 260.4°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#4276CF
RGBrgb(66, 118, 207)
HSLhsl(218, 59%, 54%)
HSVhsv(218, 68%, 81%)
CMYKcmyk(68.1%, 43%, 0%, 18.8%)
CIE-LABlab(50.24, 11.81, -51.17)
CIE-LCHlch(50.24, 52.52, 282.99°)
OKLaboklab(57.47% -0.0247 -0.1462)
OKLCHoklch(57.47% 0.148 260.4)
XYZxyz(19.9837, 18.6181, 61.5599)
Luminance0.1862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4276CF #CF9B42
analogous
#42BDCF #4276CF #5442CF
triadic
#4276CF #CF4276 #76CF42
tetradic
#4276CF #CF42BD #CF9B42 #42CF54
square
#4276CF #CF42BD #CF9B42 #42CF54
split-complementary
#4276CF #CF5442 #BDCF42
monochromatic
#1F4078 #2B59A9 #4276CF #7399DB #A4BDE8

Accessibility & contrast

On white

4.45
#4276CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#4276CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4276CF
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4276CF#FFFFFF#000000##000000
##4276CF1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7FD2
Deuteranopia (green-blind)
#3371CD
Tritanopia (blue-blind)
#008B98
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4276cf;
/* rgb */ color: rgb(66, 118, 207);
/* oklch */ color: oklch(57.5% 0.148 260.4);
Tailwind
colors: {
  custom: {
    50: '#869dde',
    500: '#4276cf',
    950: '#000000',
  },
}
SCSS
$custom: #4276cf;
$custom-light: #869dde;
$custom-dark: #000000;
JSON
{
  "hex": "#4276cf",
  "rgb": {
    "r": 66,
    "g": 118,
    "b": 207
  },
  "hsl": {
    "h": 217.872,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.57468,
    "c": 0.14826,
    "h": 260.4
  },
  "luminance": 0.1862
}

Semantic roles & 50–950 ramp

primary
#4276CF
secondary
#D5BE98
accent
#A945E3
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4276CF

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

Preview Lab → · Contrast checker → · Palette generator →

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