#374391#374391

#374391 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.7% C 0.128 H 273.0°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#374391
RGBrgb(55, 67, 145)
HSLhsl(232, 45%, 39%)
HSVhsv(232, 62%, 57%)
CMYKcmyk(62.1%, 53.8%, 0%, 43.1%)
CIE-LABlab(31.51, 20.48, -44.74)
CIE-LCHlch(31.51, 49.20, 294.60°)
OKLaboklab(41.74% 0.0067 -0.1282)
OKLCHoklch(41.74% 0.128 273)
XYZxyz(8.6918, 6.8702, 27.6506)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374391 #918537
analogous
#377091 #374391 #583791
triadic
#374391 #913743 #439137
tetradic
#374391 #913770 #918537 #379158
square
#374391 #913770 #918537 #379158
split-complementary
#374391 #915837 #709137
monochromatic
#151A38 #262E65 #374391 #4B5ABB #7782CB

Accessibility & contrast

On white

8.85
#374391 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#374391 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374391
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374391#FFFFFF#000000##FFFFFF
##3743911.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144E94
Deuteranopia (green-blind)
#00468F
Tritanopia (blue-blind)
#005563
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #374391;
/* rgb */ color: rgb(55, 67, 145);
/* oklch */ color: oklch(41.7% 0.128 273.0);
Tailwind
colors: {
  custom: {
    50: '#7776b2',
    500: '#374391',
    950: '#000000',
  },
}
SCSS
$custom: #374391;
$custom-light: #7776b2;
$custom-dark: #000000;
JSON
{
  "hex": "#374391",
  "rgb": {
    "r": 55,
    "g": 67,
    "b": 145
  },
  "hsl": {
    "h": 232,
    "s": 45,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41742,
    "c": 0.12839,
    "h": 273
  },
  "luminance": 0.06871
}

Semantic roles & 50–950 ramp

primary
#374391
secondary
#B4AB70
accent
#C353D5
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #374391

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

Preview Lab → · Contrast checker → · Palette generator →

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