#4262D4#4262D4

#4262D4 is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.7% C 0.179 H 268.0°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#4262D4
RGBrgb(66, 98, 212)
HSLhsl(227, 63%, 55%)
HSVhsv(227, 69%, 83%)
CMYKcmyk(68.9%, 53.8%, 0%, 16.9%)
CIE-LABlab(45.14, 26.18, -62.22)
CIE-LCHlch(45.14, 67.51, 292.82°)
OKLaboklab(53.68% -0.0062 -0.179)
OKLCHoklch(53.68% 0.179 268)
XYZxyz(18.4940, 14.6452, 64.1268)
Luminance0.1465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4262D4 #D4B442
analogous
#42ABD4 #4262D4 #6B42D4
triadic
#4262D4 #D44262 #62D442
tetradic
#4262D4 #D442AB #D4B442 #42D46B
square
#4262D4 #D442AB #D4B442 #42D46B
split-complementary
#4262D4 #D46B42 #ABD442
monochromatic
#1D327F #2846B1 #4262D4 #748BDF #A6B5EB

Accessibility & contrast

On white

5.34
#4262D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#4262D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4262D4
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4262D4#FFFFFF#000000##FFFFFF
##4262D41.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0772D8
Deuteranopia (green-blind)
#0064D2
Tritanopia (blue-blind)
#007D91
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4262d4;
/* rgb */ color: rgb(66, 98, 212);
/* oklch */ color: oklch(53.7% 0.179 268.0);
Tailwind
colors: {
  custom: {
    50: '#878ee2',
    500: '#4262d4',
    950: '#000000',
  },
}
SCSS
$custom: #4262d4;
$custom-light: #878ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#4262d4",
  "rgb": {
    "r": 66,
    "g": 98,
    "b": 212
  },
  "hsl": {
    "h": 226.849,
    "s": 62.931,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53683,
    "c": 0.17911,
    "h": 268
  },
  "luminance": 0.14647
}

Semantic roles & 50–950 ramp

primary
#4262D4
secondary
#D8CA9A
accent
#C242E6
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4262D4

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

Preview Lab → · Contrast checker → · Palette generator →

#4262D4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva