#374E98#374E98

#374E98 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.6% C 0.124 H 268.1°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#374E98
RGBrgb(55, 78, 152)
HSLhsl(226, 47%, 41%)
HSVhsv(226, 64%, 60%)
CMYKcmyk(63.8%, 48.7%, 0%, 40.4%)
CIE-LABlab(35.06, 15.70, -43.29)
CIE-LCHlch(35.06, 46.05, 289.93°)
OKLaboklab(44.58% -0.0041 -0.1238)
OKLCHoklch(44.58% 0.124 268.1)
XYZxyz(9.9655, 8.5271, 30.8204)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374E98 #988137
analogous
#377E98 #374E98 #503798
triadic
#374E98 #98374E #4E9837
tetradic
#374E98 #98377E #988137 #379850
square
#374E98 #98377E #988137 #379850
split-complementary
#374E98 #985037 #7E9837
monochromatic
#16203E #27376B #374E98 #4D68BF #7A8ECF

Accessibility & contrast

On white

7.76
#374E98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#374E98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374E98
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374E98#FFFFFF#000000##FFFFFF
##374E981.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28579B
Deuteranopia (green-blind)
#164E96
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #374e98;
/* rgb */ color: rgb(55, 78, 152);
/* oklch */ color: oklch(44.6% 0.124 268.1);
Tailwind
colors: {
  custom: {
    50: '#787fb7',
    500: '#374e98',
    950: '#000000',
  },
}
SCSS
$custom: #374e98;
$custom-light: #787fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#374e98",
  "rgb": {
    "r": 55,
    "g": 78,
    "b": 152
  },
  "hsl": {
    "h": 225.773,
    "s": 46.86,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44582,
    "c": 0.12388,
    "h": 268.1
  },
  "luminance": 0.08528
}

Semantic roles & 50–950 ramp

primary
#374E98
secondary
#B8A873
accent
#B751D6
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #374E98

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

Preview Lab → · Contrast checker → · Palette generator →

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