#374EA2#374EA2

#374EA2 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.3% C 0.138 H 268.8°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#374EA2
RGBrgb(55, 78, 162)
HSLhsl(227, 49%, 43%)
HSVhsv(227, 66%, 64%)
CMYKcmyk(66%, 51.9%, 0%, 36.5%)
CIE-LABlab(35.73, 19.35, -48.23)
CIE-LCHlch(35.73, 51.96, 291.86°)
OKLaboklab(45.31% -0.0029 -0.1383)
OKLCHoklch(45.31% 0.138 268.8)
XYZxyz(10.8193, 8.8686, 35.3171)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374EA2 #A28B37
analogous
#3783A2 #374EA2 #5637A2
triadic
#374EA2 #A2374E #4EA237
tetradic
#374EA2 #A23783 #A28B37 #37A256
square
#374EA2 #A23783 #A28B37 #37A256
split-complementary
#374EA2 #A25637 #83A237
monochromatic
#182247 #273874 #374EA2 #526BC4 #8092D4

Accessibility & contrast

On white

7.57
#374EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#374EA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374EA2
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374EA2#FFFFFF#000000##FFFFFF
##374EA21.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D59A5
Deuteranopia (green-blind)
#004FA0
Tritanopia (blue-blind)
#006270
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #374ea2;
/* rgb */ color: rgb(55, 78, 162);
/* oklch */ color: oklch(45.3% 0.138 268.8);
Tailwind
colors: {
  custom: {
    50: '#7a7fbe',
    500: '#374ea2',
    950: '#000000',
  },
}
SCSS
$custom: #374ea2;
$custom-light: #7a7fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#374ea2",
  "rgb": {
    "r": 55,
    "g": 78,
    "b": 162
  },
  "hsl": {
    "h": 227.103,
    "s": 49.309,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45309,
    "c": 0.13837,
    "h": 268.8
  },
  "luminance": 0.0887
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #374EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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