#7EA2DF#7EA2DF

#7EA2DF is a light, moderate blue. Relative luminance 0.356; OKLCH L 71.0% C 0.098 H 260.7°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#7EA2DF
RGBrgb(126, 162, 223)
HSLhsl(218, 60%, 68%)
HSVhsv(218, 43%, 87%)
CMYKcmyk(43.5%, 27.4%, 0%, 12.5%)
CIE-LABlab(66.21, 3.46, -34.75)
CIE-LCHlch(66.21, 34.92, 275.69°)
OKLaboklab(70.96% -0.0159 -0.097)
OKLCHoklch(70.96% 0.098 260.7)
XYZxyz(34.8395, 35.6019, 74.8338)
Luminance0.3560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA2DF #DFBB7E
analogous
#7ED2DF #7EA2DF #8A7EDF
triadic
#7EA2DF #DF7EA2 #A2DF7E
tetradic
#7EA2DF #DF7ED2 #DFBB7E #7EDF8A
square
#7EA2DF #DF7ED2 #DFBB7E #7EDF8A
split-complementary
#7EA2DF #DF8A7E #D2DF7E
monochromatic
#2D60B6 #4D7FD3 #7EA2DF #AFC5EB #E0E9F7

Accessibility & contrast

On white

2.59
#7EA2DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#7EA2DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA2DF
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA2DF#FFFFFF#000000##000000
##7EA2DF1.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA6E2
Deuteranopia (green-blind)
#819DDE
Tritanopia (blue-blind)
#5AAFB7
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7ea2df;
/* rgb */ color: rgb(126, 162, 223);
/* oklch */ color: oklch(71.0% 0.098 260.7);
Tailwind
colors: {
  custom: {
    50: '#a7bde9',
    500: '#7ea2df',
    950: '#000000',
  },
}
SCSS
$custom: #7ea2df;
$custom-light: #a7bde9;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea2df",
  "rgb": {
    "r": 126,
    "g": 162,
    "b": 223
  },
  "hsl": {
    "h": 217.732,
    "s": 60.248,
    "l": 68.431
  },
  "oklch": {
    "l": 0.70964,
    "c": 0.09833,
    "h": 260.7
  },
  "luminance": 0.35604
}

Semantic roles & 50–950 ramp

primary
#7EA2DF
secondary
#EBE0CE
accent
#891EC8
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101216
muted
#7F8184

Preview Lab

Preview with #7EA2DF

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

Preview Lab → · Contrast checker → · Palette generator →

#7EA2DF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva