#3A74CB#3A74CB

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

Color values

HEX#3A74CB
RGBrgb(58, 116, 203)
HSLhsl(216, 58%, 51%)
HSVhsv(216, 71%, 80%)
CMYKcmyk(71.4%, 42.9%, 0%, 20.4%)
CIE-LABlab(49.13, 10.41, -50.68)
CIE-LCHlch(49.13, 51.74, 281.61°)
OKLaboklab(56.45% -0.0296 -0.1449)
OKLCHoklch(56.45% 0.148 258.5)
XYZxyz(18.7659, 17.7001, 58.9158)
Luminance0.1770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A74CB #CB913A
analogous
#3ABCCB #3A74CB #483ACB
triadic
#3A74CB #CB3A74 #74CB3A
tetradic
#3A74CB #CB3ABC #CB913A #3ACB48
square
#3A74CB #CB3ABC #CB913A #3ACB48
split-complementary
#3A74CB #CB483A #BCCB3A
monochromatic
#1D3D6E #2A589E #3A74CB #6A96D8 #9BB8E5

Accessibility & contrast

On white

4.63
#3A74CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#3A74CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3A74CB
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A74CB#FFFFFF#000000##FFFFFF
##3A74CB1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a74cb;
/* rgb */ color: rgb(58, 116, 203);
/* oklch */ color: oklch(56.5% 0.148 258.5);
Tailwind
colors: {
  custom: {
    50: '#829bdb',
    500: '#3a74cb',
    950: '#000000',
  },
}
SCSS
$custom: #3a74cb;
$custom-light: #829bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a74cb",
  "rgb": {
    "r": 58,
    "g": 116,
    "b": 203
  },
  "hsl": {
    "h": 216,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.56451,
    "c": 0.14789,
    "h": 258.5
  },
  "luminance": 0.17702
}

Semantic roles & 50–950 ramp

primary
#3A74CB
secondary
#D0B790
accent
#A346E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3A74CB

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

Preview Lab → · Contrast checker → · Palette generator →

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