#374A9F#374A9F

#374A9F is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.3% C 0.139 H 270.3°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#374A9F
RGBrgb(55, 74, 159)
HSLhsl(229, 49%, 42%)
HSVhsv(229, 65%, 62%)
CMYKcmyk(65.4%, 53.5%, 0%, 37.6%)
CIE-LABlab(34.42, 20.90, -48.54)
CIE-LCHlch(34.42, 52.84, 293.29°)
OKLaboklab(44.25% 0.0007 -0.1393)
OKLCHoklch(44.25% 0.139 270.3)
XYZxyz(10.2802, 8.2121, 33.8375)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374A9F #9F8C37
analogous
#377E9F #374A9F #58379F
triadic
#374A9F #9F374A #4A9F37
tetradic
#374A9F #9F377E #9F8C37 #379F58
square
#374A9F #9F377E #9F8C37 #379F58
split-complementary
#374A9F #9F5837 #7E9F37
monochromatic
#182044 #273572 #374A9F #5165C3 #7E8DD2

Accessibility & contrast

On white

7.95
#374A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#374A9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374A9F
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374A9F#FFFFFF#000000##FFFFFF
##374A9F1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1456A2
Deuteranopia (green-blind)
#004C9D
Tritanopia (blue-blind)
#005E6D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #374a9f;
/* rgb */ color: rgb(55, 74, 159);
/* oklch */ color: oklch(44.3% 0.139 270.3);
Tailwind
colors: {
  custom: {
    50: '#797cbc',
    500: '#374a9f',
    950: '#000000',
  },
}
SCSS
$custom: #374a9f;
$custom-light: #797cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#374a9f",
  "rgb": {
    "r": 55,
    "g": 74,
    "b": 159
  },
  "hsl": {
    "h": 229.038,
    "s": 48.598,
    "l": 41.961
  },
  "oklch": {
    "l": 0.44252,
    "c": 0.13931,
    "h": 270.3
  },
  "luminance": 0.08213
}

Semantic roles & 50–950 ramp

primary
#374A9F
secondary
#BCAF76
accent
#BF50D8
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #374A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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