#374E97#374E97

#374E97 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.5% C 0.122 H 268.0°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#374E97
RGBrgb(55, 78, 151)
HSLhsl(226, 47%, 40%)
HSVhsv(226, 64%, 59%)
CMYKcmyk(63.6%, 48.3%, 0%, 40.8%)
CIE-LABlab(34.99, 15.33, -42.79)
CIE-LCHlch(34.99, 45.45, 289.71°)
OKLaboklab(44.51% -0.0042 -0.1223)
OKLCHoklch(44.51% 0.122 268)
XYZxyz(9.8840, 8.4945, 30.3909)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374E97 #978037
analogous
#377E97 #374E97 #503797
triadic
#374E97 #97374E #4E9737
tetradic
#374E97 #97377E #978037 #379750
square
#374E97 #97377E #978037 #379750
split-complementary
#374E97 #975037 #7E9737
monochromatic
#16203D #27376A #374E97 #4D68BE #7A8ECF

Accessibility & contrast

On white

7.78
#374E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#374E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374E97
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374E97#FFFFFF#000000##FFFFFF
##374E971.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29579A
Deuteranopia (green-blind)
#184E95
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #374e97;
/* rgb */ color: rgb(55, 78, 151);
/* oklch */ color: oklch(44.5% 0.122 268.0);
Tailwind
colors: {
  custom: {
    50: '#787fb6',
    500: '#374e97',
    950: '#000000',
  },
}
SCSS
$custom: #374e97;
$custom-light: #787fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#374e97",
  "rgb": {
    "r": 55,
    "g": 78,
    "b": 151
  },
  "hsl": {
    "h": 225.625,
    "s": 46.602,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44512,
    "c": 0.12241,
    "h": 268
  },
  "luminance": 0.08495
}

Semantic roles & 50–950 ramp

primary
#374E97
secondary
#B8A772
accent
#B652D6
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #374E97

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

Preview Lab → · Contrast checker → · Palette generator →

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