#374497#374497

#374497 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.4% C 0.136 H 272.6°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#374497
RGBrgb(55, 68, 151)
HSLhsl(232, 47%, 40%)
HSVhsv(232, 64%, 59%)
CMYKcmyk(63.6%, 55%, 0%, 40.8%)
CIE-LABlab(32.21, 21.98, -47.26)
CIE-LCHlch(32.21, 52.12, 294.94°)
OKLaboklab(42.41% 0.0061 -0.1356)
OKLCHoklch(42.41% 0.136 272.6)
XYZxyz(9.2267, 7.1801, 30.1718)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374497 #978A37
analogous
#377497 #374497 #5A3797
triadic
#374497 #973744 #449737
tetradic
#374497 #973774 #978A37 #37975A
square
#374497 #973774 #978A37 #37975A
split-complementary
#374497 #975A37 #749737
monochromatic
#161C3D #27306A #374497 #4D5CBE #7A85CF

Accessibility & contrast

On white

8.62
#374497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#374497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374497
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374497#FFFFFF#000000##FFFFFF
##3744971.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B509A
Deuteranopia (green-blind)
#004895
Tritanopia (blue-blind)
#005866
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #374497;
/* rgb */ color: rgb(55, 68, 151);
/* oklch */ color: oklch(42.4% 0.136 272.6);
Tailwind
colors: {
  custom: {
    50: '#7877b6',
    500: '#374497',
    950: '#000000',
  },
}
SCSS
$custom: #374497;
$custom-light: #7877b6;
$custom-dark: #000000;
JSON
{
  "hex": "#374497",
  "rgb": {
    "r": 55,
    "g": 68,
    "b": 151
  },
  "hsl": {
    "h": 231.875,
    "s": 46.602,
    "l": 40.392
  },
  "oklch": {
    "l": 0.42408,
    "c": 0.13578,
    "h": 272.6
  },
  "luminance": 0.07181
}

Semantic roles & 50–950 ramp

primary
#374497
secondary
#B8AE72
accent
#C452D6
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #374497

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

Preview Lab → · Contrast checker → · Palette generator →

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