#465787#465787

#465787 is a mid, moderate blue. Relative luminance 0.099; OKLCH L 46.5% C 0.081 H 268.3°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#465787
RGBrgb(70, 87, 135)
HSLhsl(224, 32%, 40%)
HSVhsv(224, 48%, 53%)
CMYKcmyk(48.1%, 35.6%, 0%, 47.1%)
CIE-LABlab(37.60, 7.38, -28.86)
CIE-LCHlch(37.60, 29.79, 284.34°)
OKLaboklab(46.46% -0.0024 -0.0812)
OKLCHoklch(46.46% 0.081 268.3)
XYZxyz(10.3058, 9.8671, 24.2785)
Luminance0.0987 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#465787 #877646
analogous
#467787 #465787 #564687
triadic
#465787 #874657 #578746
tetradic
#465787 #874677 #877646 #468756
square
#465787 #874677 #877646 #468756
split-complementary
#465787 #875646 #778746
monochromatic
#1C2336 #313D5F #465787 #5E73AC #8796C1

Accessibility & contrast

On white

7.06
#465787 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#465787 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #465787
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##465787#FFFFFF#000000##FFFFFF
##4657871.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455C89
Deuteranopia (green-blind)
#3F5686
Tritanopia (blue-blind)
#2D6168
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #465787;
/* rgb */ color: rgb(70, 87, 135);
/* oklch */ color: oklch(46.5% 0.081 268.3);
Tailwind
colors: {
  custom: {
    50: '#7d86aa',
    500: '#465787',
    950: '#000000',
  },
}
SCSS
$custom: #465787;
$custom-light: #7d86aa;
$custom-dark: #000000;
JSON
{
  "hex": "#465787",
  "rgb": {
    "r": 70,
    "g": 87,
    "b": 135
  },
  "hsl": {
    "h": 224.308,
    "s": 31.707,
    "l": 40.196
  },
  "oklch": {
    "l": 0.46464,
    "c": 0.0812,
    "h": 268.3
  },
  "luminance": 0.09868
}

Semantic roles & 50–950 ramp

primary
#465787
secondary
#ACA07D
accent
#AD60C8
background
#F7F8FA
surface
#EEEFF4
border
#C9CACE
text
#0A0B10
muted
#7C7C7F

Preview Lab

Preview with #465787

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

Preview Lab → · Contrast checker → · Palette generator →

#465787 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva