#374E89#374E89

#374E89 is a dark, moderate blue. Relative luminance 0.081; OKLCH L 43.6% C 0.102 H 266.2°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#374E89
RGBrgb(55, 78, 137)
HSLhsl(223, 43%, 38%)
HSVhsv(223, 60%, 54%)
CMYKcmyk(59.9%, 43.1%, 0%, 46.3%)
CIE-LABlab(34.12, 10.28, -35.65)
CIE-LCHlch(34.12, 37.10, 286.08°)
OKLaboklab(43.56% -0.0067 -0.1014)
OKLCHoklch(43.56% 0.102 266.2)
XYZxyz(8.8138, 8.0664, 24.7546)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374E89 #897237
analogous
#377789 #374E89 #493789
triadic
#374E89 #89374E #4E8937
tetradic
#374E89 #893777 #897237 #378949
square
#374E89 #893777 #897237 #378949
split-complementary
#374E89 #894937 #778937
monochromatic
#141C32 #25355D #374E89 #4967B5 #738BC7

Accessibility & contrast

On white

8.04
#374E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#374E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374E89
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374E89#FFFFFF#000000##FFFFFF
##374E891.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34548B
Deuteranopia (green-blind)
#294D88
Tritanopia (blue-blind)
#005B65
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #374e89;
/* rgb */ color: rgb(55, 78, 137);
/* oklch */ color: oklch(43.6% 0.102 266.2);
Tailwind
colors: {
  custom: {
    50: '#757fac',
    500: '#374e89',
    950: '#000000',
  },
}
SCSS
$custom: #374e89;
$custom-light: #757fac;
$custom-dark: #000000;
JSON
{
  "hex": "#374e89",
  "rgb": {
    "r": 55,
    "g": 78,
    "b": 137
  },
  "hsl": {
    "h": 223.171,
    "s": 42.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43562,
    "c": 0.1016,
    "h": 266.2
  },
  "luminance": 0.08067
}

Semantic roles & 50–950 ramp

primary
#374E89
secondary
#B09D6C
accent
#AF55D2
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #374E89

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

Preview Lab → · Contrast checker → · Palette generator →

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