#6074EF#6074EF

#6074EF is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.7% C 0.185 H 272.7°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#6074EF
RGBrgb(96, 116, 239)
HSLhsl(232, 82%, 66%)
HSVhsv(232, 60%, 94%)
CMYKcmyk(59.8%, 51.5%, 0%, 6.3%)
CIE-LABlab(53.18, 29.06, -64.40)
CIE-LCHlch(53.18, 70.66, 294.29°)
OKLaboklab(60.75% 0.0088 -0.1845)
OKLCHoklch(60.75% 0.185 272.7)
XYZxyz(26.6441, 21.2074, 84.3340)
Luminance0.2121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6074EF #EFDB60
analogous
#60BCEF #6074EF #9360EF
triadic
#6074EF #EF6074 #74EF60
tetradic
#6074EF #EF60BC #EFDB60 #60EF93
square
#6074EF #EF60BC #EFDB60 #60EF93
split-complementary
#6074EF #EF9360 #BCEF60
monochromatic
#132CC1 #2843E9 #6074EF #98A5F5 #CFD5FA

Accessibility & contrast

On white

4.01
#6074EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#6074EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6074EF
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6074EF#FFFFFF#000000##000000
##6074EF1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C85F3
Deuteranopia (green-blind)
#0079EC
Tritanopia (blue-blind)
#0090A6
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6074ef;
/* rgb */ color: rgb(96, 116, 239);
/* oklch */ color: oklch(60.7% 0.185 272.7);
Tailwind
colors: {
  custom: {
    50: '#999bf5',
    500: '#6074ef',
    950: '#000000',
  },
}
SCSS
$custom: #6074ef;
$custom-light: #999bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#6074ef",
  "rgb": {
    "r": 96,
    "g": 116,
    "b": 239
  },
  "hsl": {
    "h": 231.608,
    "s": 81.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.60745,
    "c": 0.18474,
    "h": 272.7
  },
  "luminance": 0.2121
}

Semantic roles & 50–950 ramp

primary
#6074EF
secondary
#EDE7BE
accent
#C007DE
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6074EF

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

Preview Lab → · Contrast checker → · Palette generator →

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