#374698#374698

#374698 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.9% C 0.135 H 271.8°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#374698
RGBrgb(55, 70, 152)
HSLhsl(231, 47%, 41%)
HSVhsv(231, 64%, 60%)
CMYKcmyk(63.8%, 53.9%, 0%, 40.4%)
CIE-LABlab(32.83, 21.01, -46.88)
CIE-LCHlch(32.83, 51.37, 294.14°)
OKLaboklab(42.89% 0.0041 -0.1345)
OKLCHoklch(42.89% 0.135 271.8)
XYZxyz(9.4313, 7.4587, 30.6423)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374698 #988937
analogous
#377698 #374698 #593798
triadic
#374698 #983746 #469837
tetradic
#374698 #983776 #988937 #379859
square
#374698 #983776 #988937 #379859
split-complementary
#374698 #985937 #769837
monochromatic
#161D3E #27316B #374698 #4D5FBF #7A87CF

Accessibility & contrast

On white

8.43
#374698 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#374698 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374698
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374698#FFFFFF#000000##FFFFFF
##3746981.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12529B
Deuteranopia (green-blind)
#004996
Tritanopia (blue-blind)
#005968
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #374698;
/* rgb */ color: rgb(55, 70, 152);
/* oklch */ color: oklch(42.9% 0.135 271.8);
Tailwind
colors: {
  custom: {
    50: '#7879b7',
    500: '#374698',
    950: '#000000',
  },
}
SCSS
$custom: #374698;
$custom-light: #7879b7;
$custom-dark: #000000;
JSON
{
  "hex": "#374698",
  "rgb": {
    "r": 55,
    "g": 70,
    "b": 152
  },
  "hsl": {
    "h": 230.722,
    "s": 46.86,
    "l": 40.588
  },
  "oklch": {
    "l": 0.42894,
    "c": 0.13453,
    "h": 271.8
  },
  "luminance": 0.0746
}

Semantic roles & 50–950 ramp

primary
#374698
secondary
#B8AD73
accent
#C251D6
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #374698

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

Preview Lab → · Contrast checker → · Palette generator →

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