#374491#374491

#374491 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.9% C 0.127 H 272.5°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#374491
RGBrgb(55, 68, 145)
HSLhsl(231, 45%, 39%)
HSVhsv(231, 62%, 57%)
CMYKcmyk(62.1%, 53.1%, 0%, 43.1%)
CIE-LABlab(31.78, 19.82, -44.30)
CIE-LCHlch(31.78, 48.53, 294.10°)
OKLaboklab(41.95% 0.0056 -0.1269)
OKLCHoklch(41.95% 0.127 272.5)
XYZxyz(8.7518, 6.9901, 27.6706)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374491 #918437
analogous
#377191 #374491 #573791
triadic
#374491 #913744 #449137
tetradic
#374491 #913771 #918437 #379157
square
#374491 #913771 #918437 #379157
split-complementary
#374491 #915737 #719137
monochromatic
#151A38 #262F65 #374491 #4B5BBB #7783CB

Accessibility & contrast

On white

8.76
#374491 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#374491 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374491
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374491#FFFFFF#000000##FFFFFF
##3744911.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174F94
Deuteranopia (green-blind)
#00478F
Tritanopia (blue-blind)
#005664
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #374491;
/* rgb */ color: rgb(55, 68, 145);
/* oklch */ color: oklch(41.9% 0.127 272.5);
Tailwind
colors: {
  custom: {
    50: '#7777b2',
    500: '#374491',
    950: '#000000',
  },
}
SCSS
$custom: #374491;
$custom-light: #7777b2;
$custom-dark: #000000;
JSON
{
  "hex": "#374491",
  "rgb": {
    "r": 55,
    "g": 68,
    "b": 145
  },
  "hsl": {
    "h": 231.333,
    "s": 45,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41949,
    "c": 0.12703,
    "h": 272.5
  },
  "luminance": 0.06991
}

Semantic roles & 50–950 ramp

primary
#374491
secondary
#B4AA70
accent
#C253D5
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #374491

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

Preview Lab → · Contrast checker → · Palette generator →

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