#3F74CB#3F74CB

#3F74CB is a mid, vivid blue. Relative luminance 0.179; OKLCH L 56.7% C 0.146 H 259.8°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#3F74CB
RGBrgb(63, 116, 203)
HSLhsl(217, 57%, 52%)
HSVhsv(217, 69%, 80%)
CMYKcmyk(69%, 42.9%, 0%, 20.4%)
CIE-LABlab(49.32, 11.15, -50.36)
CIE-LCHlch(49.32, 51.58, 282.49°)
OKLaboklab(56.65% -0.0259 -0.1439)
OKLCHoklch(56.65% 0.146 259.8)
XYZxyz(19.0709, 17.8574, 58.9301)
Luminance0.1786 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F74CB #CB963F
analogous
#3FBACB #3F74CB #503FCB
triadic
#3F74CB #CB3F74 #74CB3F
tetradic
#3F74CB #CB3FBA #CB963F #3FCB50
square
#3F74CB #CB3FBA #CB963F #3FCB50
split-complementary
#3F74CB #CB503F #BACB3F
monochromatic
#1F3E71 #2C58A1 #3F74CB #6F97D8 #9FBAE5

Accessibility & contrast

On white

4.59
#3F74CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#3F74CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3F74CB
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F74CB#FFFFFF#000000##FFFFFF
##3F74CB1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A7CCE
Deuteranopia (green-blind)
#326FC9
Tritanopia (blue-blind)
#008895
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3f74cb;
/* rgb */ color: rgb(63, 116, 203);
/* oklch */ color: oklch(56.7% 0.146 259.8);
Tailwind
colors: {
  custom: {
    50: '#849bdb',
    500: '#3f74cb',
    950: '#000000',
  },
}
SCSS
$custom: #3f74cb;
$custom-light: #849bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#3f74cb",
  "rgb": {
    "r": 63,
    "g": 116,
    "b": 203
  },
  "hsl": {
    "h": 217.286,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.56653,
    "c": 0.1462,
    "h": 259.8
  },
  "luminance": 0.17859
}

Semantic roles & 50–950 ramp

primary
#3F74CB
secondary
#D1BA94
accent
#A747E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3F74CB

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

Preview Lab → · Contrast checker → · Palette generator →

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