#4F6CEA#4F6CEA

#4F6CEA is a mid, vivid blue. Relative luminance 0.183; OKLCH L 57.9% C 0.193 H 269.7°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#4F6CEA
RGBrgb(79, 108, 234)
HSLhsl(229, 79%, 61%)
HSVhsv(229, 66%, 92%)
CMYKcmyk(66.2%, 53.8%, 0%, 8.2%)
CIE-LABlab(49.89, 29.52, -66.97)
CIE-LCHlch(49.89, 73.18, 293.79°)
OKLaboklab(57.92% -0.0011 -0.1925)
OKLCHoklch(57.92% 0.193 269.7)
XYZxyz(23.4332, 18.3257, 80.1282)
Luminance0.1833 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6CEA #EACD4F
analogous
#4FBAEA #4F6CEA #804FEA
triadic
#4F6CEA #EA4F6C #6CEA4F
tetradic
#4F6CEA #EA4FBA #EACD4F #4FEA80
square
#4F6CEA #EA4FBA #EACD4F #4FEA80
split-complementary
#4F6CEA #EA804F #BAEA4F
monochromatic
#1430AA #1B40E1 #4F6CEA #869AF1 #BCC7F7

Accessibility & contrast

On white

4.50
#4F6CEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#4F6CEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F6CEA
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6CEA#FFFFFF#000000##000000
##4F6CEA1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#047EEE
Deuteranopia (green-blind)
#0070E7
Tritanopia (blue-blind)
#008AA1
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4f6cea;
/* rgb */ color: rgb(79, 108, 234);
/* oklch */ color: oklch(57.9% 0.193 269.7);
Tailwind
colors: {
  custom: {
    50: '#9195f2',
    500: '#4f6cea',
    950: '#000000',
  },
}
SCSS
$custom: #4f6cea;
$custom-light: #9195f2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6cea",
  "rgb": {
    "r": 79,
    "g": 108,
    "b": 234
  },
  "hsl": {
    "h": 228.774,
    "s": 78.68,
    "l": 61.373
  },
  "oklch": {
    "l": 0.57915,
    "c": 0.19255,
    "h": 269.7
  },
  "luminance": 0.18328
}

Semantic roles & 50–950 ramp

primary
#4F6CEA
secondary
#E7DDAD
accent
#B40BDB
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #4F6CEA

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

Preview Lab → · Contrast checker → · Palette generator →

#4F6CEA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva