#4262CC#4262CC

#4262CC is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.1% C 0.168 H 267.7°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#4262CC
RGBrgb(66, 98, 204)
HSLhsl(226, 58%, 53%)
HSVhsv(226, 68%, 80%)
CMYKcmyk(67.6%, 52%, 0%, 20%)
CIE-LABlab(44.59, 23.33, -58.53)
CIE-LCHlch(44.59, 63.01, 291.73°)
OKLaboklab(53.09% -0.0068 -0.1681)
OKLCHoklch(53.09% 0.168 267.7)
XYZxyz(17.5098, 14.2516, 58.9431)
Luminance0.1425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4262CC #CCAC42
analogous
#42A7CC #4262CC #6742CC
triadic
#4262CC #CC4262 #62CC42
tetradic
#4262CC #CC42A7 #CCAC42 #42CC67
square
#4262CC #CC42A7 #CCAC42 #42CC67
split-complementary
#4262CC #CC6742 #A7CC42
monochromatic
#1F3374 #2C48A4 #4262CC #728AD9 #A2B2E6

Accessibility & contrast

On white

5.45
#4262CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#4262CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4262CC
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4262CC#FFFFFF#000000##FFFFFF
##4262CC1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E70D0
Deuteranopia (green-blind)
#0063CA
Tritanopia (blue-blind)
#007B8D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4262cc;
/* rgb */ color: rgb(66, 98, 204);
/* oklch */ color: oklch(53.1% 0.168 267.7);
Tailwind
colors: {
  custom: {
    50: '#868edc',
    500: '#4262cc',
    950: '#000000',
  },
}
SCSS
$custom: #4262cc;
$custom-light: #868edc;
$custom-dark: #000000;
JSON
{
  "hex": "#4262cc",
  "rgb": {
    "r": 66,
    "g": 98,
    "b": 204
  },
  "hsl": {
    "h": 226.087,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5309,
    "c": 0.16828,
    "h": 267.7
  },
  "luminance": 0.14253
}

Semantic roles & 50–950 ramp

primary
#4262CC
secondary
#D3C597
accent
#BD47E1
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4262CC

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

Preview Lab → · Contrast checker → · Palette generator →

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