#374174#374174

#374174 is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.3% C 0.087 H 273.4°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#374174
RGBrgb(55, 65, 116)
HSLhsl(230, 36%, 34%)
HSVhsv(230, 53%, 45%)
CMYKcmyk(52.6%, 44%, 0%, 54.5%)
CIE-LABlab(29.04, 11.55, -30.67)
CIE-LCHlch(29.04, 32.78, 290.64°)
OKLaboklab(39.26% 0.0051 -0.0869)
OKLCHoklch(39.26% 0.087 273.4)
XYZxyz(6.6172, 5.8534, 17.3007)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374174 #746A37
analogous
#375F74 #374174 #4B3774
triadic
#374174 #743741 #417437
tetradic
#374174 #74375F #746A37 #37744B
square
#374174 #74375F #746A37 #37744B
split-complementary
#374174 #744B37 #5F7437
monochromatic
#101221 #232A4A #374174 #4B589E #6C79B9

Accessibility & contrast

On white

9.67
#374174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#374174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374174
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374174#FFFFFF#000000##FFFFFF
##3741741.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4776
Deuteranopia (green-blind)
#264273
Tritanopia (blue-blind)
#1E4C55
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #374174;
/* rgb */ color: rgb(55, 65, 116);
/* oklch */ color: oklch(39.3% 0.087 273.4);
Tailwind
colors: {
  custom: {
    50: '#72759c',
    500: '#374174',
    950: '#000000',
  },
}
SCSS
$custom: #374174;
$custom-light: #72759c;
$custom-dark: #000000;
JSON
{
  "hex": "#374174",
  "rgb": {
    "r": 55,
    "g": 65,
    "b": 116
  },
  "hsl": {
    "h": 230.164,
    "s": 35.673,
    "l": 33.529
  },
  "oklch": {
    "l": 0.39255,
    "c": 0.08707,
    "h": 273.4
  },
  "luminance": 0.05854
}

Semantic roles & 50–950 ramp

primary
#374174
secondary
#A29865
accent
#B95CCC
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#08080E
muted
#7B7B7E

Preview Lab

Preview with #374174

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

Preview Lab → · Contrast checker → · Palette generator →

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