#374394#374394

#374394 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.0% C 0.133 H 273.0°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#374394
RGBrgb(55, 67, 148)
HSLhsl(232, 46%, 40%)
HSVhsv(232, 63%, 58%)
CMYKcmyk(62.8%, 54.7%, 0%, 42%)
CIE-LABlab(31.72, 21.56, -46.23)
CIE-LCHlch(31.72, 51.01, 295.01°)
OKLaboklab(41.97% 0.0069 -0.1326)
OKLCHoklch(41.97% 0.133 273)
XYZxyz(8.9262, 6.9639, 28.8850)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374394 #948837
analogous
#377294 #374394 #5A3794
triadic
#374394 #943743 #439437
tetradic
#374394 #943772 #948837 #37945A
square
#374394 #943772 #948837 #37945A
split-complementary
#374394 #945A37 #729437
monochromatic
#161B3B #262F67 #374394 #4C5ABC #7883CD

Accessibility & contrast

On white

8.78
#374394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#374394 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374394
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374394#FFFFFF#000000##FFFFFF
##3743941.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4F97
Deuteranopia (green-blind)
#004792
Tritanopia (blue-blind)
#005665
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #374394;
/* rgb */ color: rgb(55, 67, 148);
/* oklch */ color: oklch(42.0% 0.133 273.0);
Tailwind
colors: {
  custom: {
    50: '#7876b4',
    500: '#374394',
    950: '#000000',
  },
}
SCSS
$custom: #374394;
$custom-light: #7876b4;
$custom-dark: #000000;
JSON
{
  "hex": "#374394",
  "rgb": {
    "r": 55,
    "g": 67,
    "b": 148
  },
  "hsl": {
    "h": 232.258,
    "s": 45.813,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41972,
    "c": 0.13278,
    "h": 273
  },
  "luminance": 0.06965
}

Semantic roles & 50–950 ramp

primary
#374394
secondary
#B6AD71
accent
#C552D5
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #374394

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

Preview Lab → · Contrast checker → · Palette generator →

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