#4267C7#4267C7

#4267C7 is a mid, vivid blue. Relative luminance 0.150; OKLCH L 53.8% C 0.155 H 265.6°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#4267C7
RGBrgb(66, 103, 199)
HSLhsl(223, 54%, 52%)
HSVhsv(223, 67%, 78%)
CMYKcmyk(66.8%, 48.2%, 0%, 22%)
CIE-LABlab(45.61, 18.37, -54.02)
CIE-LCHlch(45.61, 57.05, 288.78°)
OKLaboklab(53.76% -0.0119 -0.1548)
OKLCHoklch(53.76% 0.155 265.6)
XYZxyz(17.4022, 14.9806, 55.9962)
Luminance0.1498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4267C7 #C7A242
analogous
#42AAC7 #4267C7 #5F42C7
triadic
#4267C7 #C74267 #67C742
tetradic
#4267C7 #C742AA #C7A242 #42C75F
square
#4267C7 #C742AA #C7A242 #42C75F
split-complementary
#4267C7 #C75F42 #AAC742
monochromatic
#21366E #2F4D9D #4267C7 #718DD5 #A0B3E3

Accessibility & contrast

On white

5.25
#4267C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#4267C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4267C7
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4267C7#FFFFFF#000000##FFFFFF
##4267C71.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3472CB
Deuteranopia (green-blind)
#1366C5
Tritanopia (blue-blind)
#007D8D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4267c7;
/* rgb */ color: rgb(66, 103, 199);
/* oklch */ color: oklch(53.8% 0.155 265.6);
Tailwind
colors: {
  custom: {
    50: '#8591d9',
    500: '#4267c7',
    950: '#000000',
  },
}
SCSS
$custom: #4267c7;
$custom-light: #8591d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4267c7",
  "rgb": {
    "r": 66,
    "g": 103,
    "b": 199
  },
  "hsl": {
    "h": 223.308,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.53757,
    "c": 0.15524,
    "h": 265.6
  },
  "luminance": 0.14982
}

Semantic roles & 50–950 ramp

primary
#4267C7
secondary
#D0BF95
accent
#B54ADE
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4267C7

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

Preview Lab → · Contrast checker → · Palette generator →

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