#374BA7#374BA7

#374BA7 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.1% C 0.149 H 270.1°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#374BA7
RGBrgb(55, 75, 167)
HSLhsl(229, 50%, 44%)
HSVhsv(229, 67%, 65%)
CMYKcmyk(67.1%, 55.1%, 0%, 34.5%)
CIE-LABlab(35.27, 23.15, -51.96)
CIE-LCHlch(35.27, 56.89, 294.01°)
OKLaboklab(45.07% 0.0003 -0.1494)
OKLCHoklch(45.07% 0.149 270.1)
XYZxyz(11.0643, 8.6334, 37.6350)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374BA7 #A79337
analogous
#3783A7 #374BA7 #5B37A7
triadic
#374BA7 #A7374B #4BA737
tetradic
#374BA7 #A73783 #A79337 #37A75B
square
#374BA7 #A73783 #A79337 #37A75B
split-complementary
#374BA7 #A75B37 #83A737
monochromatic
#19224B #283679 #374BA7 #5469C7 #8291D6

Accessibility & contrast

On white

7.70
#374BA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#374BA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374BA7
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374BA7#FFFFFF#000000##FFFFFF
##374BA71.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0258AA
Deuteranopia (green-blind)
#004EA5
Tritanopia (blue-blind)
#006171
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #374ba7;
/* rgb */ color: rgb(55, 75, 167);
/* oklch */ color: oklch(45.1% 0.149 270.1);
Tailwind
colors: {
  custom: {
    50: '#7b7dc2',
    500: '#374ba7',
    950: '#000000',
  },
}
SCSS
$custom: #374ba7;
$custom-light: #7b7dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#374ba7",
  "rgb": {
    "r": 55,
    "g": 75,
    "b": 167
  },
  "hsl": {
    "h": 229.286,
    "s": 50.45,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45074,
    "c": 0.14938,
    "h": 270.1
  },
  "luminance": 0.08634
}

Semantic roles & 50–950 ramp

primary
#374BA7
secondary
#C0B37A
accent
#C14EDA
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #374BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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