#4262C9#4262C9

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

Color values

HEX#4262C9
RGBrgb(66, 98, 201)
HSLhsl(226, 56%, 52%)
HSVhsv(226, 67%, 79%)
CMYKcmyk(67.2%, 51.2%, 0%, 21.2%)
CIE-LABlab(44.39, 22.26, -57.13)
CIE-LCHlch(44.39, 61.32, 291.29°)
OKLaboklab(52.87% -0.0071 -0.164)
OKLCHoklch(52.87% 0.164 267.5)
XYZxyz(17.1534, 14.1090, 57.0663)
Luminance0.1411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4262C9 #C9A942
analogous
#42A5C9 #4262C9 #6642C9
triadic
#4262C9 #C94262 #62C942
tetradic
#4262C9 #C942A5 #C9A942 #42C966
square
#4262C9 #C942A5 #C9A942 #42C966
split-complementary
#4262C9 #C96642 #A5C942
monochromatic
#203370 #2E49A0 #4262C9 #728AD7 #A1B1E4

Accessibility & contrast

On white

5.49
#4262C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#4262C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4262C9
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4262C9#FFFFFF#000000##FFFFFF
##4262C91.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#236FCD
Deuteranopia (green-blind)
#0063C7
Tritanopia (blue-blind)
#007A8C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4262c9;
/* rgb */ color: rgb(66, 98, 201);
/* oklch */ color: oklch(52.9% 0.164 267.5);
Tailwind
colors: {
  custom: {
    50: '#858eda',
    500: '#4262c9',
    950: '#000000',
  },
}
SCSS
$custom: #4262c9;
$custom-light: #858eda;
$custom-dark: #000000;
JSON
{
  "hex": "#4262c9",
  "rgb": {
    "r": 66,
    "g": 98,
    "b": 201
  },
  "hsl": {
    "h": 225.778,
    "s": 55.556,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52872,
    "c": 0.16417,
    "h": 267.5
  },
  "luminance": 0.14111
}

Semantic roles & 50–950 ramp

primary
#4262C9
secondary
#D1C396
accent
#BB49DF
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4262C9

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

Preview Lab → · Contrast checker → · Palette generator →

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