#462FD8#462FD8

#462FD8 is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 46.2% C 0.238 H 277.7°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#462FD8
RGBrgb(70, 47, 216)
HSLhsl(248, 68%, 52%)
HSVhsv(248, 78%, 85%)
CMYKcmyk(67.6%, 78.2%, 0%, 15.3%)
CIE-LABlab(34.58, 57.66, -81.80)
CIE-LCHlch(34.58, 100.08, 305.18°)
OKLaboklab(46.16% 0.0318 -0.2363)
OKLCHoklch(46.16% 0.238 277.7)
XYZxyz(15.9330, 8.2916, 65.7132)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462FD8 #C1D82F
analogous
#2F6DD8 #462FD8 #9B2FD8
triadic
#462FD8 #D8462F #2FD846
tetradic
#462FD8 #D82F6D #C1D82F #2FD89B
square
#462FD8 #D82F6D #C1D82F #2FD89B
split-complementary
#462FD8 #D89B2F #6DD82F
monochromatic
#231676 #3320AA #462FD8 #7463E2 #A296EB

Accessibility & contrast

On white

7.90
#462FD8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#462FD8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462FD8
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462FD8#FFFFFF#000000##FFFFFF
##462FD81.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058DD
Deuteranopia (green-blind)
#004AD5
Tritanopia (blue-blind)
#006283
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #462fd8;
/* rgb */ color: rgb(70, 47, 216);
/* oklch */ color: oklch(46.2% 0.238 277.7);
Tailwind
colors: {
  custom: {
    50: '#8e6ce6',
    500: '#462fd8',
    950: '#000000',
  },
}
SCSS
$custom: #462fd8;
$custom-light: #8e6ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#462fd8",
  "rgb": {
    "r": 70,
    "g": 47,
    "b": 216
  },
  "hsl": {
    "h": 248.166,
    "s": 68.421,
    "l": 51.569
  },
  "oklch": {
    "l": 0.46164,
    "c": 0.23848,
    "h": 277.7
  },
  "luminance": 0.08293
}

Semantic roles & 50–950 ramp

primary
#462FD8
secondary
#CCD78C
accent
#EB3DD3
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0716
muted
#7E7A84

Preview Lab

Preview with #462FD8

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

Preview Lab → · Contrast checker → · Palette generator →

#462FD8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva