#374196#374196

#374196 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.7% C 0.138 H 273.7°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#374196
RGBrgb(55, 65, 150)
HSLhsl(234, 46%, 40%)
HSVhsv(234, 63%, 59%)
CMYKcmyk(63.3%, 56.7%, 0%, 41.2%)
CIE-LABlab(31.33, 23.61, -48.08)
CIE-LCHlch(31.33, 53.56, 296.16°)
OKLaboklab(41.73% 0.009 -0.1381)
OKLCHoklch(41.73% 0.138 273.7)
XYZxyz(8.9690, 6.7941, 29.6870)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374196 #968C37
analogous
#377196 #374196 #5C3796
triadic
#374196 #963741 #419637
tetradic
#374196 #963771 #968C37 #37965C
square
#374196 #963771 #968C37 #37965C
split-complementary
#374196 #965C37 #719637
monochromatic
#161A3C #272E69 #374196 #4D59BE #7982CE

Accessibility & contrast

On white

8.90
#374196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#374196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374196
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374196#FFFFFF#000000##FFFFFF
##3741961.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E99
Deuteranopia (green-blind)
#004694
Tritanopia (blue-blind)
#005565
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #374196;
/* rgb */ color: rgb(55, 65, 150);
/* oklch */ color: oklch(41.7% 0.138 273.7);
Tailwind
colors: {
  custom: {
    50: '#7875b5',
    500: '#374196',
    950: '#000000',
  },
}
SCSS
$custom: #374196;
$custom-light: #7875b5;
$custom-dark: #000000;
JSON
{
  "hex": "#374196",
  "rgb": {
    "r": 55,
    "g": 65,
    "b": 150
  },
  "hsl": {
    "h": 233.684,
    "s": 46.341,
    "l": 40.196
  },
  "oklch": {
    "l": 0.41726,
    "c": 0.13836,
    "h": 273.7
  },
  "luminance": 0.06795
}

Semantic roles & 50–950 ramp

primary
#374196
secondary
#B7B072
accent
#C852D6
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #374196

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

Preview Lab → · Contrast checker → · Palette generator →

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