#374AB5#374AB5

#374AB5 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.0% C 0.170 H 270.5°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#374AB5
RGBrgb(55, 74, 181)
HSLhsl(231, 53%, 46%)
HSVhsv(231, 70%, 71%)
CMYKcmyk(69.6%, 59.1%, 0%, 29%)
CIE-LABlab(36.07, 28.89, -58.98)
CIE-LCHlch(36.07, 65.67, 296.10°)
OKLaboklab(46.01% 0.0016 -0.17)
OKLCHoklch(46.01% 0.17 270.5)
XYZxyz(12.3620, 9.0448, 44.8014)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374AB5 #B5A237
analogous
#3789B5 #374AB5 #6337B5
triadic
#374AB5 #B5374A #4AB537
tetradic
#374AB5 #B53789 #B5A237 #37B563
square
#374AB5 #B53789 #B5A237 #37B563
split-complementary
#374AB5 #B56337 #89B537
monochromatic
#1A2457 #293786 #374AB5 #5C6DCD #8B97DC

Accessibility & contrast

On white

7.48
#374AB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#374AB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374AB5
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374AB5#FFFFFF#000000##FFFFFF
##374AB51.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB9
Deuteranopia (green-blind)
#004FB3
Tritanopia (blue-blind)
#006578
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #374ab5;
/* rgb */ color: rgb(55, 74, 181);
/* oklch */ color: oklch(46.0% 0.170 270.5);
Tailwind
colors: {
  custom: {
    50: '#7e7ccc',
    500: '#374ab5',
    950: '#000000',
  },
}
SCSS
$custom: #374ab5;
$custom-light: #7e7ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#374ab5",
  "rgb": {
    "r": 55,
    "g": 74,
    "b": 181
  },
  "hsl": {
    "h": 230.952,
    "s": 53.39,
    "l": 46.275
  },
  "oklch": {
    "l": 0.46009,
    "c": 0.17003,
    "h": 270.5
  },
  "luminance": 0.09046
}

Semantic roles & 50–950 ramp

primary
#374AB5
secondary
#C6BC82
accent
#C74BDD
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #374AB5

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

Preview Lab → · Contrast checker → · Palette generator →

#374AB5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva