#374D99#374D99

#374D99 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.4% C 0.127 H 268.7°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#374D99
RGBrgb(55, 77, 153)
HSLhsl(227, 47%, 41%)
HSVhsv(227, 64%, 60%)
CMYKcmyk(64.1%, 49.7%, 0%, 40%)
CIE-LABlab(34.84, 16.72, -44.24)
CIE-LCHlch(34.84, 47.30, 290.71°)
OKLaboklab(44.44% -0.0029 -0.1266)
OKLCHoklch(44.44% 0.127 268.7)
XYZxyz(9.9772, 8.4190, 31.2301)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374D99 #998337
analogous
#377E99 #374D99 #523799
triadic
#374D99 #99374D #4D9937
tetradic
#374D99 #99377E #998337 #379952
square
#374D99 #99377E #998337 #379952
split-complementary
#374D99 #995237 #7E9937
monochromatic
#17203F #27366C #374D99 #4E67BF #7B8ED0

Accessibility & contrast

On white

7.82
#374D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#374D99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374D99
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374D99#FFFFFF#000000##FFFFFF
##374D991.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25579C
Deuteranopia (green-blind)
#104E97
Tritanopia (blue-blind)
#005E6B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #374d99;
/* rgb */ color: rgb(55, 77, 153);
/* oklch */ color: oklch(44.4% 0.127 268.7);
Tailwind
colors: {
  custom: {
    50: '#787eb7',
    500: '#374d99',
    950: '#000000',
  },
}
SCSS
$custom: #374d99;
$custom-light: #787eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#374d99",
  "rgb": {
    "r": 55,
    "g": 77,
    "b": 153
  },
  "hsl": {
    "h": 226.531,
    "s": 47.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.44439,
    "c": 0.12666,
    "h": 268.7
  },
  "luminance": 0.0842
}

Semantic roles & 50–950 ramp

primary
#374D99
secondary
#B9A973
accent
#B951D7
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #374D99

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

Preview Lab → · Contrast checker → · Palette generator →

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