#4262C3#4262C3

#4262C3 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.4% C 0.156 H 267.2°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#4262C3
RGBrgb(66, 98, 195)
HSLhsl(225, 52%, 51%)
HSVhsv(225, 66%, 76%)
CMYKcmyk(66.2%, 49.7%, 0%, 23.5%)
CIE-LABlab(43.99, 20.12, -54.31)
CIE-LCHlch(43.99, 57.92, 290.33°)
OKLaboklab(52.44% -0.0077 -0.1557)
OKLCHoklch(52.44% 0.156 267.2)
XYZxyz(16.4614, 13.8322, 53.4215)
Luminance0.1383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4262C3 #C3A342
analogous
#42A2C3 #4262C3 #6242C3
triadic
#4262C3 #C34262 #62C342
tetradic
#4262C3 #C342A2 #C3A342 #42C362
square
#4262C3 #C342A2 #C3A342 #42C362
split-complementary
#4262C3 #C36242 #A2C342
monochromatic
#213369 #304A98 #4262C3 #7089D2 #9FAFE0

Accessibility & contrast

On white

5.58
#4262C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#4262C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4262C3
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4262C3#FFFFFF#000000##FFFFFF
##4262C31.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6EC7
Deuteranopia (green-blind)
#0262C1
Tritanopia (blue-blind)
#007989
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4262c3;
/* rgb */ color: rgb(66, 98, 195);
/* oklch */ color: oklch(52.4% 0.156 267.2);
Tailwind
colors: {
  custom: {
    50: '#848ed6',
    500: '#4262c3',
    950: '#000000',
  },
}
SCSS
$custom: #4262c3;
$custom-light: #848ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#4262c3",
  "rgb": {
    "r": 66,
    "g": 98,
    "b": 195
  },
  "hsl": {
    "h": 225.116,
    "s": 51.807,
    "l": 51.176
  },
  "oklch": {
    "l": 0.52443,
    "c": 0.1559,
    "h": 267.2
  },
  "luminance": 0.13834
}

Semantic roles & 50–950 ramp

primary
#4262C3
secondary
#CDBF94
accent
#B84DDB
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4262C3

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

Preview Lab → · Contrast checker → · Palette generator →

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