#374B87#374B87

#374B87 is a dark, moderate blue. Relative luminance 0.076; OKLCH L 42.8% C 0.103 H 268.0°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#374B87
RGBrgb(55, 75, 135)
HSLhsl(225, 42%, 37%)
HSVhsv(225, 59%, 53%)
CMYKcmyk(59.3%, 44.4%, 0%, 47.1%)
CIE-LABlab(33.12, 11.55, -36.02)
CIE-LCHlch(33.12, 37.82, 287.78°)
OKLaboklab(42.76% -0.0035 -0.1025)
OKLCHoklch(42.76% 0.103 268)
XYZxyz(8.4633, 7.5930, 23.9366)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374B87 #877337
analogous
#377387 #374B87 #4B3787
triadic
#374B87 #87374B #4B8737
tetradic
#374B87 #873773 #877337 #37874B
square
#374B87 #873773 #877337 #37874B
split-complementary
#374B87 #874B37 #738737
monochromatic
#141B30 #25335C #374B87 #4963B2 #7387C6

Accessibility & contrast

On white

8.34
#374B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#374B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374B87
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374B87#FFFFFF#000000##FFFFFF
##374B871.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315289
Deuteranopia (green-blind)
#264B86
Tritanopia (blue-blind)
#005862
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #374b87;
/* rgb */ color: rgb(55, 75, 135);
/* oklch */ color: oklch(42.8% 0.103 268.0);
Tailwind
colors: {
  custom: {
    50: '#757caa',
    500: '#374b87',
    950: '#000000',
  },
}
SCSS
$custom: #374b87;
$custom-light: #757caa;
$custom-dark: #000000;
JSON
{
  "hex": "#374b87",
  "rgb": {
    "r": 55,
    "g": 75,
    "b": 135
  },
  "hsl": {
    "h": 225,
    "s": 42.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.42755,
    "c": 0.10255,
    "h": 268
  },
  "luminance": 0.07594
}

Semantic roles & 50–950 ramp

primary
#374B87
secondary
#AF9E6B
accent
#B356D2
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #374B87

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

Preview Lab → · Contrast checker → · Palette generator →

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