#3D74CB#3D74CB

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

Color values

HEX#3D74CB
RGBrgb(61, 116, 203)
HSLhsl(217, 58%, 52%)
HSVhsv(217, 70%, 80%)
CMYKcmyk(70%, 42.9%, 0%, 20.4%)
CIE-LABlab(49.24, 10.85, -50.49)
CIE-LCHlch(49.24, 51.65, 282.13°)
OKLaboklab(56.57% -0.0274 -0.1443)
OKLCHoklch(56.57% 0.147 259.2)
XYZxyz(18.9455, 17.7927, 58.9242)
Luminance0.1779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D74CB #CB943D
analogous
#3DBBCB #3D74CB #4D3DCB
triadic
#3D74CB #CB3D74 #74CB3D
tetradic
#3D74CB #CB3DBB #CB943D #3DCB4D
square
#3D74CB #CB3DBB #CB943D #3DCB4D
split-complementary
#3D74CB #CB4D3D #BBCB3D
monochromatic
#1E3E70 #2B58A0 #3D74CB #6D97D8 #9EB9E5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3D74CB#FFFFFF#000000##FFFFFF
##3D74CB1.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)
#4A7CCE
Deuteranopia (green-blind)
#326FC9
Tritanopia (blue-blind)
#008895
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3d74cb;
/* rgb */ color: rgb(61, 116, 203);
/* oklch */ color: oklch(56.6% 0.147 259.2);
Tailwind
colors: {
  custom: {
    50: '#839bdb',
    500: '#3d74cb',
    950: '#000000',
  },
}
SCSS
$custom: #3d74cb;
$custom-light: #839bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#3d74cb",
  "rgb": {
    "r": 61,
    "g": 116,
    "b": 203
  },
  "hsl": {
    "h": 216.761,
    "s": 57.724,
    "l": 51.765
  },
  "oklch": {
    "l": 0.5657,
    "c": 0.14688,
    "h": 259.2
  },
  "luminance": 0.17795
}

Semantic roles & 50–950 ramp

primary
#3D74CB
secondary
#D1B993
accent
#A547E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3D74CB

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

Preview Lab → · Contrast checker → · Palette generator →

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