#374199#374199

#374199 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.0% C 0.143 H 273.7°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#374199
RGBrgb(55, 65, 153)
HSLhsl(234, 47%, 41%)
HSVhsv(234, 64%, 60%)
CMYKcmyk(64.1%, 57.5%, 0%, 40%)
CIE-LABlab(31.56, 24.69, -49.54)
CIE-LCHlch(31.56, 55.35, 296.49°)
OKLaboklab(41.97% 0.0091 -0.1424)
OKLCHoklch(41.97% 0.143 273.7)
XYZxyz(9.2137, 6.8920, 30.9756)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374199 #998F37
analogous
#377299 #374199 #5E3799
triadic
#374199 #993741 #419937
tetradic
#374199 #993772 #998F37 #37995E
square
#374199 #993772 #998F37 #37995E
split-complementary
#374199 #995E37 #729937
monochromatic
#171B3F #272E6C #374199 #4E59BF #7B84D0

Accessibility & contrast

On white

8.83
#374199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#374199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374199
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374199#FFFFFF#000000##FFFFFF
##3741991.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9C
Deuteranopia (green-blind)
#004697
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #374199;
/* rgb */ color: rgb(55, 65, 153);
/* oklch */ color: oklch(42.0% 0.143 273.7);
Tailwind
colors: {
  custom: {
    50: '#7975b8',
    500: '#374199',
    950: '#000000',
  },
}
SCSS
$custom: #374199;
$custom-light: #7975b8;
$custom-dark: #000000;
JSON
{
  "hex": "#374199",
  "rgb": {
    "r": 55,
    "g": 65,
    "b": 153
  },
  "hsl": {
    "h": 233.878,
    "s": 47.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.41966,
    "c": 0.14266,
    "h": 273.7
  },
  "luminance": 0.06893
}

Semantic roles & 50–950 ramp

primary
#374199
secondary
#B9B173
accent
#C951D7
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #374199

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

Preview Lab → · Contrast checker → · Palette generator →

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