#374095#374095

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

Color values

HEX#374095
RGBrgb(55, 64, 149)
HSLhsl(234, 46%, 40%)
HSVhsv(234, 63%, 58%)
CMYKcmyk(63.1%, 57%, 0%, 41.6%)
CIE-LABlab(30.99, 23.92, -48.02)
CIE-LCHlch(30.99, 53.65, 296.48°)
OKLaboklab(41.45% 0.01 -0.1379)
OKLCHoklch(41.45% 0.138 274.1)
XYZxyz(8.8320, 6.6482, 29.2458)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374095 #958C37
analogous
#376F95 #374095 #5D3795
triadic
#374095 #953740 #409537
tetradic
#374095 #95376F #958C37 #37955D
square
#374095 #95376F #958C37 #37955D
split-complementary
#374095 #955D37 #6F9537
monochromatic
#161A3C #272D68 #374095 #4C57BD #7981CD

Accessibility & contrast

On white

9.01
#374095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#374095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374095
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374095#FFFFFF#000000##FFFFFF
##3740951.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D98
Deuteranopia (green-blind)
#004593
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #374095;
/* rgb */ color: rgb(55, 64, 149);
/* oklch */ color: oklch(41.4% 0.138 274.1);
Tailwind
colors: {
  custom: {
    50: '#7874b5',
    500: '#374095',
    950: '#000000',
  },
}
SCSS
$custom: #374095;
$custom-light: #7874b5;
$custom-dark: #000000;
JSON
{
  "hex": "#374095",
  "rgb": {
    "r": 55,
    "g": 64,
    "b": 149
  },
  "hsl": {
    "h": 234.255,
    "s": 46.078,
    "l": 40
  },
  "oklch": {
    "l": 0.41447,
    "c": 0.13827,
    "h": 274.1
  },
  "luminance": 0.06649
}

Semantic roles & 50–950 ramp

primary
#374095
secondary
#B6B071
accent
#C952D6
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #374095

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

Preview Lab → · Contrast checker → · Palette generator →

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