#6074EC#6074EC

#6074EC is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.5% C 0.181 H 272.7°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#6074EC
RGBrgb(96, 116, 236)
HSLhsl(231, 79%, 65%)
HSVhsv(231, 59%, 93%)
CMYKcmyk(59.3%, 50.8%, 0%, 7.5%)
CIE-LABlab(52.98, 28.08, -63.04)
CIE-LCHlch(52.98, 69.01, 294.01°)
OKLaboklab(60.54% 0.0086 -0.1805)
OKLCHoklch(60.54% 0.181 272.7)
XYZxyz(26.2046, 21.0316, 82.0192)
Luminance0.2103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6074EC #ECD860
analogous
#60BAEC #6074EC #9260EC
triadic
#6074EC #EC6074 #74EC60
tetradic
#6074EC #EC60BA #ECD860 #60EC92
square
#6074EC #EC60BA #ECD860 #60EC92
split-complementary
#6074EC #EC9260 #BAEC60
monochromatic
#162EBB #2944E5 #6074EC #97A4F3 #CDD4F9

Accessibility & contrast

On white

4.03
#6074EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#6074EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6074EC
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6074EC#FFFFFF#000000##000000
##6074EC1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3085F0
Deuteranopia (green-blind)
#0779EA
Tritanopia (blue-blind)
#0090A5
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6074ec;
/* rgb */ color: rgb(96, 116, 236);
/* oklch */ color: oklch(60.5% 0.181 272.7);
Tailwind
colors: {
  custom: {
    50: '#999bf3',
    500: '#6074ec',
    950: '#000000',
  },
}
SCSS
$custom: #6074ec;
$custom-light: #999bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#6074ec",
  "rgb": {
    "r": 96,
    "g": 116,
    "b": 236
  },
  "hsl": {
    "h": 231.429,
    "s": 78.652,
    "l": 65.098
  },
  "oklch": {
    "l": 0.60539,
    "c": 0.18071,
    "h": 272.7
  },
  "luminance": 0.21034
}

Semantic roles & 50–950 ramp

primary
#6074EC
secondary
#ECE5BC
accent
#BD0BDB
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6074EC

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

Preview Lab → · Contrast checker → · Palette generator →

#6074EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva