#462FBA#462FBA

#462FBA is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 43.1% C 0.204 H 281.1°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#462FBA
RGBrgb(70, 47, 186)
HSLhsl(250, 60%, 46%)
HSVhsv(250, 75%, 73%)
CMYKcmyk(62.4%, 74.7%, 0%, 27.1%)
CIE-LABlab(31.53, 48.73, -69.33)
CIE-LCHlch(31.53, 84.74, 305.10°)
OKLaboklab(43.12% 0.0394 -0.2)
OKLCHoklch(43.12% 0.204 281.1)
XYZxyz(12.4024, 6.8794, 47.1191)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462FBA #A3BA2F
analogous
#2F5DBA #462FBA #8B2FBA
triadic
#462FBA #BA462F #2FBA46
tetradic
#462FBA #BA2F5D #A3BA2F #2FBA8B
square
#462FBA #BA2F5D #A3BA2F #2FBA8B
split-complementary
#462FBA #BA8B2F #5DBA2F
monochromatic
#211658 #342389 #462FBA #6853D3 #9384E0

Accessibility & contrast

On white

8.84
#462FBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#462FBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462FBA
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462FBA#FFFFFF#000000##FFFFFF
##462FBA1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBE
Deuteranopia (green-blind)
#0045B7
Tritanopia (blue-blind)
#005672
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #462fba;
/* rgb */ color: rgb(70, 47, 186);
/* oklch */ color: oklch(43.1% 0.204 281.1);
Tailwind
colors: {
  custom: {
    50: '#886bd0',
    500: '#462fba',
    950: '#000000',
  },
}
SCSS
$custom: #462fba;
$custom-light: #886bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#462fba",
  "rgb": {
    "r": 70,
    "g": 47,
    "b": 186
  },
  "hsl": {
    "h": 249.928,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.43118,
    "c": 0.20384,
    "h": 281.1
  },
  "luminance": 0.0688
}

Semantic roles & 50–950 ramp

primary
#462FBA
secondary
#BCC97C
accent
#E345C9
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #462FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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