#4262C0#4262C0

#4262C0 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.2% C 0.152 H 266.9°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#4262C0
RGBrgb(66, 98, 192)
HSLhsl(225, 50%, 51%)
HSVhsv(225, 66%, 75%)
CMYKcmyk(65.6%, 49%, 0%, 24.7%)
CIE-LABlab(43.80, 19.05, -52.88)
CIE-LCHlch(43.80, 56.21, 289.81°)
OKLaboklab(52.23% -0.0081 -0.1515)
OKLCHoklch(52.23% 0.152 266.9)
XYZxyz(16.1256, 13.6979, 51.6531)
Luminance0.1370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4262C0 #C0A042
analogous
#42A1C0 #4262C0 #6142C0
triadic
#4262C0 #C04262 #62C042
tetradic
#4262C0 #C042A1 #C0A042 #42C061
square
#4262C0 #C042A1 #C0A042 #42C061
split-complementary
#4262C0 #C06142 #A1C042
monochromatic
#223366 #314A94 #4262C0 #7088CF #9EAEDF

Accessibility & contrast

On white

5.62
#4262C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#4262C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4262C0
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4262C0#FFFFFF#000000##FFFFFF
##4262C01.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6EC3
Deuteranopia (green-blind)
#0F62BE
Tritanopia (blue-blind)
#007888
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4262c0;
/* rgb */ color: rgb(66, 98, 192);
/* oklch */ color: oklch(52.2% 0.152 266.9);
Tailwind
colors: {
  custom: {
    50: '#838ed4',
    500: '#4262c0',
    950: '#000000',
  },
}
SCSS
$custom: #4262c0;
$custom-light: #838ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#4262c0",
  "rgb": {
    "r": 66,
    "g": 98,
    "b": 192
  },
  "hsl": {
    "h": 224.762,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.52232,
    "c": 0.15174,
    "h": 266.9
  },
  "luminance": 0.13699
}

Semantic roles & 50–950 ramp

primary
#4262C0
secondary
#CBBD93
accent
#B64EDA
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4262C0

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

Preview Lab → · Contrast checker → · Palette generator →

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