#374295#374295

#374295 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.8% C 0.136 H 273.4°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#374295
RGBrgb(55, 66, 149)
HSLhsl(233, 46%, 40%)
HSVhsv(233, 63%, 58%)
CMYKcmyk(63.1%, 55.7%, 0%, 41.6%)
CIE-LABlab(31.53, 22.59, -47.15)
CIE-LCHlch(31.53, 52.29, 295.60°)
OKLaboklab(41.85% 0.008 -0.1353)
OKLCHoklch(41.85% 0.136 273.4)
XYZxyz(8.9468, 6.8778, 29.2840)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374295 #958A37
analogous
#377195 #374295 #5B3795
triadic
#374295 #953742 #429537
tetradic
#374295 #953771 #958A37 #37955B
square
#374295 #953771 #958A37 #37955B
split-complementary
#374295 #955B37 #719537
monochromatic
#161A3C #272E68 #374295 #4C59BD #7983CD

Accessibility & contrast

On white

8.84
#374295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #374295
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374295#FFFFFF#000000##FFFFFF
##3742951.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054E98
Deuteranopia (green-blind)
#004693
Tritanopia (blue-blind)
#005665
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #374295;
/* rgb */ color: rgb(55, 66, 149);
/* oklch */ color: oklch(41.8% 0.136 273.4);
Tailwind
colors: {
  custom: {
    50: '#7876b5',
    500: '#374295',
    950: '#000000',
  },
}
SCSS
$custom: #374295;
$custom-light: #7876b5;
$custom-dark: #000000;
JSON
{
  "hex": "#374295",
  "rgb": {
    "r": 55,
    "g": 66,
    "b": 149
  },
  "hsl": {
    "h": 232.979,
    "s": 46.078,
    "l": 40
  },
  "oklch": {
    "l": 0.41847,
    "c": 0.13557,
    "h": 273.4
  },
  "luminance": 0.06879
}

Semantic roles & 50–950 ramp

primary
#374295
secondary
#B6AE71
accent
#C652D6
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #374295

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

Preview Lab → · Contrast checker → · Palette generator →

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