#7078DB#7078DB

#7078DB is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.3% C 0.148 H 277.6°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#7078DB
RGBrgb(112, 120, 219)
HSLhsl(236, 60%, 65%)
HSVhsv(236, 49%, 86%)
CMYKcmyk(48.9%, 45.2%, 0%, 14.1%)
CIE-LABlab(54.02, 23.53, -51.79)
CIE-LCHlch(54.02, 56.88, 294.43°)
OKLaboklab(61.26% 0.0196 -0.147)
OKLCHoklch(61.26% 0.148 277.6)
XYZxyz(26.1808, 21.9907, 69.8692)
Luminance0.2199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7078DB #DBD370
analogous
#70AEDB #7078DB #9E70DB
triadic
#7078DB #DB7078 #78DB70
tetradic
#7078DB #DB70AE #DBD370 #70DB9E
square
#7078DB #DB70AE #DBD370 #70DB9E
split-complementary
#7078DB #DB9E70 #AEDB70
monochromatic
#2A33A7 #3F4ACF #7078DB #A1A6E7 #D2D4F4

Accessibility & contrast

On white

3.89
#7078DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#7078DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7078DB
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7078DB#FFFFFF#000000##000000
##7078DB1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F86DF
Deuteranopia (green-blind)
#457DD9
Tritanopia (blue-blind)
#478D9F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7078db;
/* rgb */ color: rgb(112, 120, 219);
/* oklch */ color: oklch(61.3% 0.148 277.6);
Tailwind
colors: {
  custom: {
    50: '#9f9ee7',
    500: '#7078db',
    950: '#000000',
  },
}
SCSS
$custom: #7078db;
$custom-light: #9f9ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#7078db",
  "rgb": {
    "r": 112,
    "g": 120,
    "b": 219
  },
  "hsl": {
    "h": 235.514,
    "s": 59.777,
    "l": 64.902
  },
  "oklch": {
    "l": 0.61262,
    "c": 0.14834,
    "h": 277.6
  },
  "luminance": 0.21992
}

Semantic roles & 50–950 ramp

primary
#7078DB
secondary
#E6E3C1
accent
#BB1EC7
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #7078DB

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

Preview Lab → · Contrast checker → · Palette generator →

#7078DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva