#4262CA#4262CA

#4262CA is a mid, vivid blue. Relative luminance 0.142; OKLCH L 52.9% C 0.166 H 267.6°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#4262CA
RGBrgb(66, 98, 202)
HSLhsl(226, 56%, 53%)
HSVhsv(226, 67%, 79%)
CMYKcmyk(67.3%, 51.5%, 0%, 20.8%)
CIE-LABlab(44.46, 22.62, -57.60)
CIE-LCHlch(44.46, 61.88, 291.44°)
OKLaboklab(52.94% -0.007 -0.1654)
OKLCHoklch(52.94% 0.166 267.6)
XYZxyz(17.2714, 14.1562, 57.6879)
Luminance0.1416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4262CA #CAAA42
analogous
#42A6CA #4262CA #6642CA
triadic
#4262CA #CA4262 #62CA42
tetradic
#4262CA #CA42A6 #CAAA42 #42CA66
square
#4262CA #CA42A6 #CAAA42 #42CA66
split-complementary
#4262CA #CA6642 #A6CA42
monochromatic
#203372 #2D49A2 #4262CA #728AD7 #A2B1E5

Accessibility & contrast

On white

5.48
#4262CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#4262CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4262CA
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4262CA#FFFFFF#000000##FFFFFF
##4262CA1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2270CE
Deuteranopia (green-blind)
#0063C8
Tritanopia (blue-blind)
#007B8C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4262ca;
/* rgb */ color: rgb(66, 98, 202);
/* oklch */ color: oklch(52.9% 0.166 267.6);
Tailwind
colors: {
  custom: {
    50: '#858edb',
    500: '#4262ca',
    950: '#000000',
  },
}
SCSS
$custom: #4262ca;
$custom-light: #858edb;
$custom-dark: #000000;
JSON
{
  "hex": "#4262ca",
  "rgb": {
    "r": 66,
    "g": 98,
    "b": 202
  },
  "hsl": {
    "h": 225.882,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.52944,
    "c": 0.16555,
    "h": 267.6
  },
  "luminance": 0.14158
}

Semantic roles & 50–950 ramp

primary
#4262CA
secondary
#D1C496
accent
#BC48DF
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4262CA

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

Preview Lab → · Contrast checker → · Palette generator →

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