#4267D8#4267D8

#4267D8 is a mid, vivid blue. Relative luminance 0.158; OKLCH L 55.0% C 0.178 H 266.8°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#4267D8
RGBrgb(66, 103, 216)
HSLhsl(225, 66%, 55%)
HSVhsv(225, 69%, 85%)
CMYKcmyk(69.4%, 52.3%, 0%, 15.3%)
CIE-LABlab(46.73, 24.44, -61.94)
CIE-LCHlch(46.73, 66.59, 291.54°)
OKLaboklab(54.97% -0.0101 -0.1781)
OKLCHoklch(54.97% 0.178 266.8)
XYZxyz(19.4874, 15.8146, 66.9780)
Luminance0.1582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4267D8 #D8B342
analogous
#42B2D8 #4267D8 #6842D8
triadic
#4267D8 #D84267 #67D842
tetradic
#4267D8 #D842B2 #D8B342 #42D868
square
#4267D8 #D842B2 #D8B342 #42D868
split-complementary
#4267D8 #D86842 #B2D842
monochromatic
#1B3584 #264AB7 #4267D8 #7590E2 #A7B9ED

Accessibility & contrast

On white

5.04
#4267D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#4267D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4267D8
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4267D8#FFFFFF#000000##FFFFFF
##4267D81.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A76DC
Deuteranopia (green-blind)
#0068D6
Tritanopia (blue-blind)
#008295
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4267d8;
/* rgb */ color: rgb(66, 103, 216);
/* oklch */ color: oklch(55.0% 0.178 266.8);
Tailwind
colors: {
  custom: {
    50: '#8891e5',
    500: '#4267d8',
    950: '#000000',
  },
}
SCSS
$custom: #4267d8;
$custom-light: #8891e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4267d8",
  "rgb": {
    "r": 66,
    "g": 103,
    "b": 216
  },
  "hsl": {
    "h": 225.2,
    "s": 65.789,
    "l": 55.294
  },
  "oklch": {
    "l": 0.54969,
    "c": 0.17837,
    "h": 266.8
  },
  "luminance": 0.15817
}

Semantic roles & 50–950 ramp

primary
#4267D8
secondary
#DACB9C
accent
#BF3FE9
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4267D8

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

Preview Lab → · Contrast checker → · Palette generator →

#4267D8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva