#4268C7#4268C7

#4268C7 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.0% C 0.154 H 265.2°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#4268C7
RGBrgb(66, 104, 199)
HSLhsl(223, 54%, 52%)
HSVhsv(223, 67%, 78%)
CMYKcmyk(66.8%, 47.7%, 0%, 22%)
CIE-LABlab(45.88, 17.73, -53.58)
CIE-LCHlch(45.88, 56.44, 288.31°)
OKLaboklab(53.97% -0.0128 -0.1535)
OKLCHoklch(53.97% 0.154 265.2)
XYZxyz(17.5023, 15.1807, 56.0296)
Luminance0.1518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4268C7 #C7A142
analogous
#42ABC7 #4268C7 #5F42C7
triadic
#4268C7 #C74268 #68C742
tetradic
#4268C7 #C742AB #C7A142 #42C75F
square
#4268C7 #C742AB #C7A142 #42C75F
split-complementary
#4268C7 #C75F42 #ABC742
monochromatic
#21376E #2F4E9D #4268C7 #718ED5 #A0B3E3

Accessibility & contrast

On white

5.20
#4268C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#4268C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4268C7
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4268C7#FFFFFF#000000##FFFFFF
##4268C71.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3673CB
Deuteranopia (green-blind)
#1867C5
Tritanopia (blue-blind)
#007E8E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4268c7;
/* rgb */ color: rgb(66, 104, 199);
/* oklch */ color: oklch(54.0% 0.154 265.2);
Tailwind
colors: {
  custom: {
    50: '#8592d9',
    500: '#4268c7',
    950: '#000000',
  },
}
SCSS
$custom: #4268c7;
$custom-light: #8592d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4268c7",
  "rgb": {
    "r": 66,
    "g": 104,
    "b": 199
  },
  "hsl": {
    "h": 222.857,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.53965,
    "c": 0.15401,
    "h": 265.2
  },
  "luminance": 0.15182
}

Semantic roles & 50–950 ramp

primary
#4268C7
secondary
#D0BF95
accent
#B44ADE
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0D15
muted
#7D7D83

Preview Lab

Preview with #4268C7

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

Preview Lab → · Contrast checker → · Palette generator →

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