#374297#374297

#374297 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.0% C 0.138 H 273.3°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#374297
RGBrgb(55, 66, 151)
HSLhsl(233, 47%, 40%)
HSVhsv(233, 64%, 59%)
CMYKcmyk(63.6%, 56.3%, 0%, 40.8%)
CIE-LABlab(31.68, 23.31, -48.13)
CIE-LCHlch(31.68, 53.48, 295.84°)
OKLaboklab(42.01% 0.0081 -0.1382)
OKLCHoklch(42.01% 0.138 273.3)
XYZxyz(9.1078, 6.9423, 30.1322)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374297 #978C37
analogous
#377297 #374297 #5C3797
triadic
#374297 #973742 #429737
tetradic
#374297 #973772 #978C37 #37975C
square
#374297 #973772 #978C37 #37975C
split-complementary
#374297 #975C37 #729737
monochromatic
#161B3D #272E6A #374297 #4D5ABE #7A84CF

Accessibility & contrast

On white

8.79
#374297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#374297 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374297
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374297#FFFFFF#000000##FFFFFF
##3742971.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9A
Deuteranopia (green-blind)
#004695
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #374297;
/* rgb */ color: rgb(55, 66, 151);
/* oklch */ color: oklch(42.0% 0.138 273.3);
Tailwind
colors: {
  custom: {
    50: '#7876b6',
    500: '#374297',
    950: '#000000',
  },
}
SCSS
$custom: #374297;
$custom-light: #7876b6;
$custom-dark: #000000;
JSON
{
  "hex": "#374297",
  "rgb": {
    "r": 55,
    "g": 66,
    "b": 151
  },
  "hsl": {
    "h": 233.125,
    "s": 46.602,
    "l": 40.392
  },
  "oklch": {
    "l": 0.42005,
    "c": 0.13846,
    "h": 273.3
  },
  "luminance": 0.06943
}

Semantic roles & 50–950 ramp

primary
#374297
secondary
#B8B072
accent
#C752D6
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #374297

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

Preview Lab → · Contrast checker → · Palette generator →

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