#374FA2#374FA2

#374FA2 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.5% C 0.137 H 268.4°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#374FA2
RGBrgb(55, 79, 162)
HSLhsl(227, 49%, 43%)
HSVhsv(227, 66%, 64%)
CMYKcmyk(66%, 51.2%, 0%, 36.5%)
CIE-LABlab(36.01, 18.69, -47.78)
CIE-LCHlch(36.01, 51.30, 291.36°)
OKLaboklab(45.52% -0.0039 -0.137)
OKLCHoklch(45.52% 0.137 268.4)
XYZxyz(10.8909, 9.0118, 35.3409)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374FA2 #A28A37
analogous
#3785A2 #374FA2 #5437A2
triadic
#374FA2 #A2374F #4FA237
tetradic
#374FA2 #A23785 #A28A37 #37A254
square
#374FA2 #A23785 #A28A37 #37A254
split-complementary
#374FA2 #A25437 #85A237
monochromatic
#182247 #273974 #374FA2 #526CC4 #8093D4

Accessibility & contrast

On white

7.49
#374FA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#374FA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374FA2
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374FA2#FFFFFF#000000##FFFFFF
##374FA21.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205AA5
Deuteranopia (green-blind)
#0050A0
Tritanopia (blue-blind)
#006271
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #374fa2;
/* rgb */ color: rgb(55, 79, 162);
/* oklch */ color: oklch(45.5% 0.137 268.4);
Tailwind
colors: {
  custom: {
    50: '#7a7fbe',
    500: '#374fa2',
    950: '#000000',
  },
}
SCSS
$custom: #374fa2;
$custom-light: #7a7fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#374fa2",
  "rgb": {
    "r": 55,
    "g": 79,
    "b": 162
  },
  "hsl": {
    "h": 226.542,
    "s": 49.309,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45519,
    "c": 0.13706,
    "h": 268.4
  },
  "luminance": 0.09013
}

Semantic roles & 50–950 ramp

primary
#374FA2
secondary
#BDAE78
accent
#BA4FD9
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #374FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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