#6074CC#6074CC

#6074CC is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.5% C 0.137 H 271.9°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#6074CC
RGBrgb(96, 116, 204)
HSLhsl(229, 51%, 59%)
HSVhsv(229, 53%, 80%)
CMYKcmyk(52.9%, 43.1%, 0%, 20%)
CIE-LABlab(51.08, 17.70, -48.03)
CIE-LCHlch(51.08, 51.19, 290.23°)
OKLaboklab(58.48% 0.0046 -0.1364)
OKLCHoklch(58.48% 0.137 271.9)
XYZxyz(21.9648, 19.3357, 59.6898)
Luminance0.1934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6074CC #CCB860
analogous
#60AACC #6074CC #8260CC
triadic
#6074CC #CC6074 #74CC60
tetradic
#6074CC #CC60AA #CCB860 #60CC82
square
#6074CC #CC60AA #CCB860 #60CC82
split-complementary
#6074CC #CC8260 #AACC60
monochromatic
#2B3C86 #3A51B5 #6074CC #8E9DDB #BDC5EA

Accessibility & contrast

On white

4.31
#6074CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#6074CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6074CC
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6074CC#FFFFFF#000000##000000
##6074CC1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7FCF
Deuteranopia (green-blind)
#4375CA
Tritanopia (blue-blind)
#2C8796
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #6074cc;
/* rgb */ color: rgb(96, 116, 204);
/* oklch */ color: oklch(58.5% 0.137 271.9);
Tailwind
colors: {
  custom: {
    50: '#949bdc',
    500: '#6074cc',
    950: '#000000',
  },
}
SCSS
$custom: #6074cc;
$custom-light: #949bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#6074cc",
  "rgb": {
    "r": 96,
    "g": 116,
    "b": 204
  },
  "hsl": {
    "h": 228.889,
    "s": 51.429,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58477,
    "c": 0.13651,
    "h": 271.9
  },
  "luminance": 0.19337
}

Semantic roles & 50–950 ramp

primary
#6074CC
secondary
#D9D1AF
accent
#C14DDB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #6074CC

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

Preview Lab → · Contrast checker → · Palette generator →

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