#3B74CB#3B74CB

#3B74CB is a mid, vivid blue. Relative luminance 0.177; OKLCH L 56.5% C 0.148 H 258.7°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#3B74CB
RGBrgb(59, 116, 203)
HSLhsl(216, 58%, 51%)
HSVhsv(216, 71%, 80%)
CMYKcmyk(70.9%, 42.9%, 0%, 20.4%)
CIE-LABlab(49.17, 10.56, -50.62)
CIE-LCHlch(49.17, 51.71, 281.78°)
OKLaboklab(56.49% -0.0289 -0.1447)
OKLCHoklch(56.49% 0.148 258.7)
XYZxyz(18.8246, 17.7304, 58.9185)
Luminance0.1773 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B74CB #CB923B
analogous
#3BBCCB #3B74CB #4A3BCB
triadic
#3B74CB #CB3B74 #74CB3B
tetradic
#3B74CB #CB3BBC #CB923B #3BCB4A
square
#3B74CB #CB3BBC #CB923B #3BCB4A
split-complementary
#3B74CB #CB4A3B #BCCB3B
monochromatic
#1D3D6E #2A589F #3B74CB #6B96D8 #9CB9E5

Accessibility & contrast

On white

4.62
#3B74CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#3B74CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3B74CB
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B74CB#FFFFFF#000000##FFFFFF
##3B74CB1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b74cb;
/* rgb */ color: rgb(59, 116, 203);
/* oklch */ color: oklch(56.5% 0.148 258.7);
Tailwind
colors: {
  custom: {
    50: '#829bdb',
    500: '#3b74cb',
    950: '#000000',
  },
}
SCSS
$custom: #3b74cb;
$custom-light: #829bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#3b74cb",
  "rgb": {
    "r": 59,
    "g": 116,
    "b": 203
  },
  "hsl": {
    "h": 216.25,
    "s": 58.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.5649,
    "c": 0.14755,
    "h": 258.7
  },
  "luminance": 0.17732
}

Semantic roles & 50–950 ramp

primary
#3B74CB
secondary
#D1B891
accent
#A447E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3B74CB

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

Preview Lab → · Contrast checker → · Palette generator →

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