#374197#374197

#374197 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.8% C 0.140 H 273.7°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#374197
RGBrgb(55, 65, 151)
HSLhsl(234, 47%, 40%)
HSVhsv(234, 64%, 59%)
CMYKcmyk(63.6%, 57%, 0%, 40.8%)
CIE-LABlab(31.41, 23.97, -48.57)
CIE-LCHlch(31.41, 54.16, 296.27°)
OKLaboklab(41.81% 0.009 -0.1395)
OKLCHoklch(41.81% 0.14 273.7)
XYZxyz(9.0499, 6.8264, 30.1129)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374197 #978D37
analogous
#377197 #374197 #5D3797
triadic
#374197 #973741 #419737
tetradic
#374197 #973771 #978D37 #37975D
square
#374197 #973771 #978D37 #37975D
split-complementary
#374197 #975D37 #719737
monochromatic
#161A3D #272E6A #374197 #4D59BE #7A83CF

Accessibility & contrast

On white

8.88
#374197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#374197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374197
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374197#FFFFFF#000000##FFFFFF
##3741971.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#004695
Tritanopia (blue-blind)
#005565
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #374197;
/* rgb */ color: rgb(55, 65, 151);
/* oklch */ color: oklch(41.8% 0.140 273.7);
Tailwind
colors: {
  custom: {
    50: '#7875b6',
    500: '#374197',
    950: '#000000',
  },
}
SCSS
$custom: #374197;
$custom-light: #7875b6;
$custom-dark: #000000;
JSON
{
  "hex": "#374197",
  "rgb": {
    "r": 55,
    "g": 65,
    "b": 151
  },
  "hsl": {
    "h": 233.75,
    "s": 46.602,
    "l": 40.392
  },
  "oklch": {
    "l": 0.41806,
    "c": 0.1398,
    "h": 273.7
  },
  "luminance": 0.06827
}

Semantic roles & 50–950 ramp

primary
#374197
secondary
#B8B072
accent
#C852D6
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #374197

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

Preview Lab → · Contrast checker → · Palette generator →

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