#4262C8#4262C8

#4262C8 is a mid, vivid blue. Relative luminance 0.141; OKLCH L 52.8% C 0.163 H 267.5°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#4262C8
RGBrgb(66, 98, 200)
HSLhsl(226, 55%, 52%)
HSVhsv(226, 67%, 78%)
CMYKcmyk(67%, 51%, 0%, 21.6%)
CIE-LABlab(44.32, 21.90, -56.66)
CIE-LCHlch(44.32, 60.75, 291.13°)
OKLaboklab(52.8% -0.0072 -0.1626)
OKLCHoklch(52.8% 0.163 267.5)
XYZxyz(17.0362, 14.0621, 56.4488)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4262C8 #C8A842
analogous
#42A5C8 #4262C8 #6542C8
triadic
#4262C8 #C84262 #62C842
tetradic
#4262C8 #C842A5 #C8A842 #42C865
square
#4262C8 #C842A5 #C8A842 #42C865
split-complementary
#4262C8 #C86542 #A5C842
monochromatic
#20336F #2E499F #4262C8 #7189D6 #A1B1E4

Accessibility & contrast

On white

5.51
#4262C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#4262C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4262C8
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4262C8#FFFFFF#000000##FFFFFF
##4262C81.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#256FCC
Deuteranopia (green-blind)
#0063C6
Tritanopia (blue-blind)
#007A8C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4262c8;
/* rgb */ color: rgb(66, 98, 200);
/* oklch */ color: oklch(52.8% 0.163 267.5);
Tailwind
colors: {
  custom: {
    50: '#858ed9',
    500: '#4262c8',
    950: '#000000',
  },
}
SCSS
$custom: #4262c8;
$custom-light: #858ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#4262c8",
  "rgb": {
    "r": 66,
    "g": 98,
    "b": 200
  },
  "hsl": {
    "h": 225.672,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.528,
    "c": 0.1628,
    "h": 267.5
  },
  "luminance": 0.14064
}

Semantic roles & 50–950 ramp

primary
#4262C8
secondary
#D0C296
accent
#BB4ADE
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4262C8

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

Preview Lab → · Contrast checker → · Palette generator →

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