#374792#374792

#374792 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.7% C 0.124 H 271.2°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#374792
RGBrgb(55, 71, 146)
HSLhsl(229, 45%, 39%)
HSVhsv(229, 62%, 57%)
CMYKcmyk(62.3%, 51.4%, 0%, 42.7%)
CIE-LABlab(32.69, 18.17, -43.45)
CIE-LCHlch(32.69, 47.10, 292.70°)
OKLaboklab(42.65% 0.0026 -0.1244)
OKLCHoklch(42.65% 0.124 271.2)
XYZxyz(9.0154, 7.3933, 28.1405)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374792 #928237
analogous
#377592 #374792 #553792
triadic
#374792 #923747 #479237
tetradic
#374792 #923775 #928237 #379255
square
#374792 #923775 #928237 #379255
split-complementary
#374792 #925537 #759237
monochromatic
#161C39 #263166 #374792 #4B5FBB #7786CC

Accessibility & contrast

On white

8.47
#374792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#374792 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374792
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374792#FFFFFF#000000##FFFFFF
##3747921.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5195
Deuteranopia (green-blind)
#094990
Tritanopia (blue-blind)
#005865
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #374792;
/* rgb */ color: rgb(55, 71, 146);
/* oklch */ color: oklch(42.7% 0.124 271.2);
Tailwind
colors: {
  custom: {
    50: '#7779b2',
    500: '#374792',
    950: '#000000',
  },
}
SCSS
$custom: #374792;
$custom-light: #7779b2;
$custom-dark: #000000;
JSON
{
  "hex": "#374792",
  "rgb": {
    "r": 55,
    "g": 71,
    "b": 146
  },
  "hsl": {
    "h": 229.451,
    "s": 45.274,
    "l": 39.412
  },
  "oklch": {
    "l": 0.42652,
    "c": 0.12442,
    "h": 271.2
  },
  "luminance": 0.07394
}

Semantic roles & 50–950 ramp

primary
#374792
secondary
#B5A970
accent
#BE53D5
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #374792

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

Preview Lab → · Contrast checker → · Palette generator →

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