#3B74CC#3B74CC

#3B74CC is a mid, vivid blue. Relative luminance 0.178; OKLCH L 56.6% C 0.149 H 258.9°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#3B74CC
RGBrgb(59, 116, 204)
HSLhsl(216, 59%, 52%)
HSVhsv(216, 71%, 80%)
CMYKcmyk(71.1%, 43.1%, 0%, 20%)
CIE-LABlab(49.23, 10.92, -51.10)
CIE-LCHlch(49.23, 52.25, 282.06°)
OKLaboklab(56.55% -0.0287 -0.1461)
OKLCHoklch(56.55% 0.149 258.9)
XYZxyz(18.9442, 17.7782, 59.5482)
Luminance0.1778 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B74CC #CC933B
analogous
#3BBCCC #3B74CC #4B3BCC
triadic
#3B74CC #CC3B74 #74CC3B
tetradic
#3B74CC #CC3BBC #CC933B #3BCC4B
square
#3B74CC #CC3BBC #CC933B #3BCC4B
split-complementary
#3B74CC #CC4B3B #BCCC3B
monochromatic
#1D3D70 #2A58A0 #3B74CC #6C96D9 #9CB9E5

Accessibility & contrast

On white

4.61
#3B74CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#3B74CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3B74CC
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B74CC#FFFFFF#000000##FFFFFF
##3B74CC1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#497CCF
Deuteranopia (green-blind)
#2F6FCA
Tritanopia (blue-blind)
#008996
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3b74cc;
/* rgb */ color: rgb(59, 116, 204);
/* oklch */ color: oklch(56.6% 0.149 258.9);
Tailwind
colors: {
  custom: {
    50: '#829bdc',
    500: '#3b74cc',
    950: '#000000',
  },
}
SCSS
$custom: #3b74cc;
$custom-light: #829bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#3b74cc",
  "rgb": {
    "r": 59,
    "g": 116,
    "b": 204
  },
  "hsl": {
    "h": 216.414,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.56554,
    "c": 0.1489,
    "h": 258.9
  },
  "luminance": 0.1778
}

Semantic roles & 50–950 ramp

primary
#3B74CC
secondary
#D1B892
accent
#A546E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3B74CC

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

Preview Lab → · Contrast checker → · Palette generator →

#3B74CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva