#374DA7#374DA7

#374DA7 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.5% C 0.147 H 269.4°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#374DA7
RGBrgb(55, 77, 167)
HSLhsl(228, 50%, 44%)
HSVhsv(228, 67%, 65%)
CMYKcmyk(67.1%, 53.9%, 0%, 34.5%)
CIE-LABlab(35.81, 21.83, -51.09)
CIE-LCHlch(35.81, 55.56, 293.14°)
OKLaboklab(45.48% -0.0015 -0.1468)
OKLCHoklch(45.48% 0.147 269.4)
XYZxyz(11.2021, 8.9090, 37.6810)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374DA7 #A79137
analogous
#3785A7 #374DA7 #5937A7
triadic
#374DA7 #A7374D #4DA737
tetradic
#374DA7 #A73785 #A79137 #37A759
square
#374DA7 #A73785 #A79137 #37A759
split-complementary
#374DA7 #A75937 #85A737
monochromatic
#19234B #283879 #374DA7 #546BC7 #8293D6

Accessibility & contrast

On white

7.55
#374DA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#374DA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374DA7
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374DA7#FFFFFF#000000##FFFFFF
##374DA71.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5AAA
Deuteranopia (green-blind)
#004FA5
Tritanopia (blue-blind)
#006272
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #374da7;
/* rgb */ color: rgb(55, 77, 167);
/* oklch */ color: oklch(45.5% 0.147 269.4);
Tailwind
colors: {
  custom: {
    50: '#7b7ec2',
    500: '#374da7',
    950: '#000000',
  },
}
SCSS
$custom: #374da7;
$custom-light: #7b7ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#374da7",
  "rgb": {
    "r": 55,
    "g": 77,
    "b": 167
  },
  "hsl": {
    "h": 228.214,
    "s": 50.45,
    "l": 43.529
  },
  "oklch": {
    "l": 0.4548,
    "c": 0.14679,
    "h": 269.4
  },
  "luminance": 0.0891
}

Semantic roles & 50–950 ramp

primary
#374DA7
secondary
#C0B27A
accent
#BE4EDA
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #374DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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