#374094#374094

#374094 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.4% C 0.137 H 274.2°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#374094
RGBrgb(55, 64, 148)
HSLhsl(234, 46%, 40%)
HSVhsv(234, 63%, 58%)
CMYKcmyk(62.8%, 56.8%, 0%, 42%)
CIE-LABlab(30.92, 23.56, -47.53)
CIE-LCHlch(30.92, 53.05, 296.37°)
OKLaboklab(41.37% 0.0099 -0.1365)
OKLCHoklch(41.37% 0.137 274.2)
XYZxyz(8.7525, 6.6164, 28.8271)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374094 #948B37
analogous
#376E94 #374094 #5D3794
triadic
#374094 #943740 #409437
tetradic
#374094 #94376E #948B37 #37945D
square
#374094 #94376E #948B37 #37945D
split-complementary
#374094 #945D37 #6E9437
monochromatic
#16193B #262D67 #374094 #4C57BC #7881CD

Accessibility & contrast

On white

9.04
#374094 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#374094 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374094
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374094#FFFFFF#000000##FFFFFF
##3740941.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D97
Deuteranopia (green-blind)
#004592
Tritanopia (blue-blind)
#005463
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #374094;
/* rgb */ color: rgb(55, 64, 148);
/* oklch */ color: oklch(41.4% 0.137 274.2);
Tailwind
colors: {
  custom: {
    50: '#7874b4',
    500: '#374094',
    950: '#000000',
  },
}
SCSS
$custom: #374094;
$custom-light: #7874b4;
$custom-dark: #000000;
JSON
{
  "hex": "#374094",
  "rgb": {
    "r": 55,
    "g": 64,
    "b": 148
  },
  "hsl": {
    "h": 234.194,
    "s": 45.813,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41367,
    "c": 0.13683,
    "h": 274.2
  },
  "luminance": 0.06617
}

Semantic roles & 50–950 ramp

primary
#374094
secondary
#B6AF71
accent
#C952D5
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #374094

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

Preview Lab → · Contrast checker → · Palette generator →

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