#3A74BA#3A74BA

#3A74BA is a mid, vivid cyan. Relative luminance 0.169; OKLCH L 55.4% C 0.125 H 254.5°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#3A74BA
RGBrgb(58, 116, 186)
HSLhsl(213, 52%, 48%)
HSVhsv(213, 69%, 73%)
CMYKcmyk(68.8%, 37.6%, 0%, 27.1%)
CIE-LABlab(48.18, 4.26, -42.43)
CIE-LCHlch(48.18, 42.65, 275.73°)
OKLaboklab(55.4% -0.0334 -0.1207)
OKLCHoklch(55.4% 0.125 254.5)
XYZxyz(16.8500, 16.9337, 48.8254)
Luminance0.1694 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A74BA #BA803A
analogous
#3AB4BA #3A74BA #403ABA
triadic
#3A74BA #BA3A74 #74BA3A
tetradic
#3A74BA #BA3AB4 #BA803A #3ABA40
square
#3A74BA #BA3AB4 #BA803A #3ABA40
split-complementary
#3A74BA #BA403A #B4BA3A
monochromatic
#1D3A5D #2B578B #3A74BA #6394CE #92B4DD

Accessibility & contrast

On white

4.79
#3A74BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#3A74BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A74BA
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A74BA#FFFFFF#000000##FFFFFF
##3A74BA1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5479BD
Deuteranopia (green-blind)
#426DB9
Tritanopia (blue-blind)
#00848E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3a74ba;
/* rgb */ color: rgb(58, 116, 186);
/* oklch */ color: oklch(55.4% 0.125 254.5);
Tailwind
colors: {
  custom: {
    50: '#7e9bcf',
    500: '#3a74ba',
    950: '#000000',
  },
}
SCSS
$custom: #3a74ba;
$custom-light: #7e9bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a74ba",
  "rgb": {
    "r": 58,
    "g": 116,
    "b": 186
  },
  "hsl": {
    "h": 212.813,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.554,
    "c": 0.12523,
    "h": 254.5
  },
  "luminance": 0.16935
}

Semantic roles & 50–950 ramp

primary
#3A74BA
secondary
#C8AB88
accent
#9B4CDC
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #3A74BA

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

Preview Lab → · Contrast checker → · Palette generator →

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