#8A94DC#8A94DC

#8A94DC is a light, moderate blue. Relative luminance 0.318; OKLCH L 68.7% C 0.107 H 277.2°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#8A94DC
RGBrgb(138, 148, 220)
HSLhsl(233, 54%, 70%)
HSVhsv(233, 37%, 86%)
CMYKcmyk(37.3%, 32.7%, 0%, 13.7%)
CIE-LABlab(63.13, 13.79, -37.83)
CIE-LCHlch(63.13, 40.26, 290.02°)
OKLaboklab(68.73% 0.0133 -0.1057)
OKLCHoklch(68.73% 0.107 277.2)
XYZxyz(33.9857, 31.7490, 72.0338)
Luminance0.3175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A94DC #DCD28A
analogous
#8ABDDC #8A94DC #A98ADC
triadic
#8A94DC #DC8A94 #94DC8A
tetradic
#8A94DC #DC8ABD #DCD28A #8ADCA9
square
#8A94DC #DC8ABD #DCD28A #8ADCA9
split-complementary
#8A94DC #DCA98A #BDDC8A
monochromatic
#3646B5 #5B69CE #8A94DC #B9BFEA #E7E9F8

Accessibility & contrast

On white

2.86
#8A94DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#8A94DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A94DC
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A94DC#FFFFFF#000000##000000
##8A94DC1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D9CDF
Deuteranopia (green-blind)
#7796DA
Tritanopia (blue-blind)
#72A2AE
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8a94dc;
/* rgb */ color: rgb(138, 148, 220);
/* oklch */ color: oklch(68.7% 0.107 277.2);
Tailwind
colors: {
  custom: {
    50: '#afb3e7',
    500: '#8a94dc',
    950: '#000000',
  },
}
SCSS
$custom: #8a94dc;
$custom-light: #afb3e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a94dc",
  "rgb": {
    "r": 138,
    "g": 148,
    "b": 220
  },
  "hsl": {
    "h": 232.683,
    "s": 53.947,
    "l": 70.196
  },
  "oklch": {
    "l": 0.68729,
    "c": 0.10656,
    "h": 277.2
  },
  "luminance": 0.3175
}

Semantic roles & 50–950 ramp

primary
#8A94DC
secondary
#ECE9D6
accent
#AE24C1
background
#FAFBFE
surface
#F5F6FC
border
#CFD0D5
text
#111116
muted
#808084

Preview Lab

Preview with #8A94DC

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

Preview Lab → · Contrast checker → · Palette generator →

#8A94DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva