#374398#374398

#374398 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.3% C 0.139 H 272.9°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#374398
RGBrgb(55, 67, 152)
HSLhsl(233, 47%, 41%)
HSVhsv(233, 64%, 60%)
CMYKcmyk(63.8%, 55.9%, 0%, 40.4%)
CIE-LABlab(32.02, 23.00, -48.19)
CIE-LCHlch(32.02, 53.40, 295.52°)
OKLaboklab(42.28% 0.0071 -0.1384)
OKLCHoklch(42.28% 0.139 272.9)
XYZxyz(9.2483, 7.0928, 30.5813)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374398 #988C37
analogous
#377398 #374398 #5B3798
triadic
#374398 #983743 #439837
tetradic
#374398 #983773 #988C37 #37985B
square
#374398 #983773 #988C37 #37985B
split-complementary
#374398 #985B37 #739837
monochromatic
#161B3E #272F6B #374398 #4D5BBF #7A85CF

Accessibility & contrast

On white

8.68
#374398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#374398 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374398
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374398#FFFFFF#000000##FFFFFF
##3743981.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02509B
Deuteranopia (green-blind)
#004796
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #374398;
/* rgb */ color: rgb(55, 67, 152);
/* oklch */ color: oklch(42.3% 0.139 272.9);
Tailwind
colors: {
  custom: {
    50: '#7877b7',
    500: '#374398',
    950: '#000000',
  },
}
SCSS
$custom: #374398;
$custom-light: #7877b7;
$custom-dark: #000000;
JSON
{
  "hex": "#374398",
  "rgb": {
    "r": 55,
    "g": 67,
    "b": 152
  },
  "hsl": {
    "h": 232.577,
    "s": 46.86,
    "l": 40.588
  },
  "oklch": {
    "l": 0.42284,
    "c": 0.13855,
    "h": 272.9
  },
  "luminance": 0.07094
}

Semantic roles & 50–950 ramp

primary
#374398
secondary
#B8AF73
accent
#C651D6
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #374398

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

Preview Lab → · Contrast checker → · Palette generator →

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