#374397#374397

#374397 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.2% C 0.137 H 273.0°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#374397
RGBrgb(55, 67, 151)
HSLhsl(233, 47%, 40%)
HSVhsv(233, 64%, 59%)
CMYKcmyk(63.6%, 55.6%, 0%, 40.8%)
CIE-LABlab(31.94, 22.64, -47.70)
CIE-LCHlch(31.94, 52.80, 295.39°)
OKLaboklab(42.21% 0.0071 -0.1369)
OKLCHoklch(42.21% 0.137 273)
XYZxyz(9.1668, 7.0601, 30.1518)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374397 #978B37
analogous
#377397 #374397 #5B3797
triadic
#374397 #973743 #439737
tetradic
#374397 #973773 #978B37 #37975B
square
#374397 #973773 #978B37 #37975B
split-complementary
#374397 #975B37 #739737
monochromatic
#161B3D #272F6A #374397 #4D5BBE #7A84CF

Accessibility & contrast

On white

8.71
#374397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#374397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374397
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374397#FFFFFF#000000##FFFFFF
##3743971.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05509A
Deuteranopia (green-blind)
#004795
Tritanopia (blue-blind)
#005766
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #374397;
/* rgb */ color: rgb(55, 67, 151);
/* oklch */ color: oklch(42.2% 0.137 273.0);
Tailwind
colors: {
  custom: {
    50: '#7877b6',
    500: '#374397',
    950: '#000000',
  },
}
SCSS
$custom: #374397;
$custom-light: #7877b6;
$custom-dark: #000000;
JSON
{
  "hex": "#374397",
  "rgb": {
    "r": 55,
    "g": 67,
    "b": 151
  },
  "hsl": {
    "h": 232.5,
    "s": 46.602,
    "l": 40.392
  },
  "oklch": {
    "l": 0.42206,
    "c": 0.13712,
    "h": 273
  },
  "luminance": 0.07061
}

Semantic roles & 50–950 ramp

primary
#374397
secondary
#B8AF72
accent
#C652D6
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #374397

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

Preview Lab → · Contrast checker → · Palette generator →

#374397 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva