#4276BF#4276BF

#4276BF is a mid, vivid blue. Relative luminance 0.179; OKLCH L 56.5% C 0.127 H 257.2°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#4276BF
RGBrgb(66, 118, 191)
HSLhsl(215, 49%, 50%)
HSVhsv(215, 65%, 75%)
CMYKcmyk(65.4%, 38.2%, 0%, 25.1%)
CIE-LABlab(49.34, 6.14, -43.44)
CIE-LCHlch(49.34, 43.88, 278.05°)
OKLaboklab(56.49% -0.0281 -0.1235)
OKLCHoklch(56.49% 0.127 257.2)
XYZxyz(18.1258, 17.8749, 51.7751)
Luminance0.1788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4276BF #BF8B42
analogous
#42B4BF #4276BF #4C42BF
triadic
#4276BF #BF4276 #76BF42
tetradic
#4276BF #BF42B4 #BF8B42 #42BF4C
square
#4276BF #BF42B4 #BF8B42 #42BF4C
split-complementary
#4276BF #BF4C42 #B4BF42
monochromatic
#223E65 #325A92 #4276BF #7097CE #9DB8DE

Accessibility & contrast

On white

4.59
#4276BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#4276BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4276BF
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4276BF#FFFFFF#000000##FFFFFF
##4276BF1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#567CC2
Deuteranopia (green-blind)
#4470BE
Tritanopia (blue-blind)
#008791
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4276bf;
/* rgb */ color: rgb(66, 118, 191);
/* oklch */ color: oklch(56.5% 0.127 257.2);
Tailwind
colors: {
  custom: {
    50: '#839dd3',
    500: '#4276bf',
    950: '#000000',
  },
}
SCSS
$custom: #4276bf;
$custom-light: #839dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#4276bf",
  "rgb": {
    "r": 66,
    "g": 118,
    "b": 191
  },
  "hsl": {
    "h": 215.04,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56486,
    "c": 0.12666,
    "h": 257.2
  },
  "luminance": 0.17877
}

Semantic roles & 50–950 ramp

primary
#4276BF
secondary
#CAB393
accent
#9F4FD9
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4276BF

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

Preview Lab → · Contrast checker → · Palette generator →

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