#374097#374097

#374097 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.6% C 0.141 H 274.1°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#374097
RGBrgb(55, 64, 151)
HSLhsl(234, 47%, 40%)
HSVhsv(234, 64%, 59%)
CMYKcmyk(63.6%, 57.6%, 0%, 40.8%)
CIE-LABlab(31.14, 24.63, -49.00)
CIE-LCHlch(31.14, 54.84, 296.69°)
OKLaboklab(41.61% 0.01 -0.1408)
OKLCHoklch(41.61% 0.141 274.1)
XYZxyz(8.9930, 6.7126, 30.0939)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374097 #978E37
analogous
#377097 #374097 #5E3797
triadic
#374097 #973740 #409737
tetradic
#374097 #973770 #978E37 #37975E
square
#374097 #973770 #978E37 #37975E
split-complementary
#374097 #975E37 #709737
monochromatic
#161A3D #272D6A #374097 #4D58BE #7A82CF

Accessibility & contrast

On white

8.96
#374097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#374097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374097
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374097#FFFFFF#000000##FFFFFF
##3740971.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#004595
Tritanopia (blue-blind)
#005565
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #374097;
/* rgb */ color: rgb(55, 64, 151);
/* oklch */ color: oklch(41.6% 0.141 274.1);
Tailwind
colors: {
  custom: {
    50: '#7874b6',
    500: '#374097',
    950: '#000000',
  },
}
SCSS
$custom: #374097;
$custom-light: #7874b6;
$custom-dark: #000000;
JSON
{
  "hex": "#374097",
  "rgb": {
    "r": 55,
    "g": 64,
    "b": 151
  },
  "hsl": {
    "h": 234.375,
    "s": 46.602,
    "l": 40.392
  },
  "oklch": {
    "l": 0.41608,
    "c": 0.14114,
    "h": 274.1
  },
  "luminance": 0.06713
}

Semantic roles & 50–950 ramp

primary
#374097
secondary
#B8B172
accent
#CA52D6
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #374097

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

Preview Lab → · Contrast checker → · Palette generator →

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