#374191#374191

#374191 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.3% C 0.131 H 273.8°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#374191
RGBrgb(55, 65, 145)
HSLhsl(233, 45%, 39%)
HSVhsv(233, 62%, 57%)
CMYKcmyk(62.1%, 55.2%, 0%, 43.1%)
CIE-LABlab(30.96, 21.82, -45.62)
CIE-LCHlch(30.96, 50.57, 295.56°)
OKLaboklab(41.33% 0.0088 -0.1308)
OKLCHoklch(41.33% 0.131 273.8)
XYZxyz(8.5750, 6.6365, 27.6117)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374191 #918737
analogous
#376E91 #374191 #5A3791
triadic
#374191 #913741 #419137
tetradic
#374191 #91376E #918737 #37915A
square
#374191 #91376E #918737 #37915A
split-complementary
#374191 #915A37 #6E9137
monochromatic
#151938 #262D65 #374191 #4B57BB #7780CB

Accessibility & contrast

On white

9.02
#374191 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#374191 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374191
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374191#FFFFFF#000000##FFFFFF
##3741911.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4D94
Deuteranopia (green-blind)
#00458F
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #374191;
/* rgb */ color: rgb(55, 65, 145);
/* oklch */ color: oklch(41.3% 0.131 273.8);
Tailwind
colors: {
  custom: {
    50: '#7775b2',
    500: '#374191',
    950: '#000000',
  },
}
SCSS
$custom: #374191;
$custom-light: #7775b2;
$custom-dark: #000000;
JSON
{
  "hex": "#374191",
  "rgb": {
    "r": 55,
    "g": 65,
    "b": 145
  },
  "hsl": {
    "h": 233.333,
    "s": 45,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41332,
    "c": 0.13113,
    "h": 273.8
  },
  "luminance": 0.06637
}

Semantic roles & 50–950 ramp

primary
#374191
secondary
#B4AD70
accent
#C653D5
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #374191

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

Preview Lab → · Contrast checker → · Palette generator →

#374191 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva