#374188#374188

#374188 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.6% C 0.118 H 273.9°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#374188
RGBrgb(55, 65, 136)
HSLhsl(233, 42%, 37%)
HSVhsv(233, 60%, 53%)
CMYKcmyk(59.6%, 52.2%, 0%, 46.7%)
CIE-LABlab(30.33, 18.60, -41.11)
CIE-LCHlch(30.33, 45.12, 294.34°)
OKLaboklab(40.65% 0.0081 -0.1176)
OKLCHoklch(40.65% 0.118 273.9)
XYZxyz(7.9083, 6.3698, 24.1005)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374188 #887E37
analogous
#376988 #374188 #563788
triadic
#374188 #883741 #418837
tetradic
#374188 #883769 #887E37 #378856
square
#374188 #883769 #887E37 #378856
split-complementary
#374188 #885637 #698837
monochromatic
#141731 #252C5C #374188 #4956B4 #737DC6

Accessibility & contrast

On white

9.23
#374188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#374188 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374188
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374188#FFFFFF#000000##FFFFFF
##3741881.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4B8B
Deuteranopia (green-blind)
#0B4487
Tritanopia (blue-blind)
#00515E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #374188;
/* rgb */ color: rgb(55, 65, 136);
/* oklch */ color: oklch(40.6% 0.118 273.9);
Tailwind
colors: {
  custom: {
    50: '#7575ab',
    500: '#374188',
    950: '#000000',
  },
}
SCSS
$custom: #374188;
$custom-light: #7575ab;
$custom-dark: #000000;
JSON
{
  "hex": "#374188",
  "rgb": {
    "r": 55,
    "g": 65,
    "b": 136
  },
  "hsl": {
    "h": 232.593,
    "s": 42.408,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40649,
    "c": 0.11784,
    "h": 273.9
  },
  "luminance": 0.0637
}

Semantic roles & 50–950 ramp

primary
#374188
secondary
#AFA76C
accent
#C356D2
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #374188

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

Preview Lab → · Contrast checker → · Palette generator →

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