#374187#374187

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

Color values

HEX#374187
RGBrgb(55, 65, 135)
HSLhsl(233, 42%, 37%)
HSVhsv(233, 59%, 53%)
CMYKcmyk(59.3%, 51.9%, 0%, 47.1%)
CIE-LABlab(30.26, 18.24, -40.60)
CIE-LCHlch(30.26, 44.51, 294.19°)
OKLaboklab(40.58% 0.008 -0.1161)
OKLCHoklch(40.58% 0.116 273.9)
XYZxyz(7.8376, 6.3415, 23.7280)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374187 #877D37
analogous
#376987 #374187 #553787
triadic
#374187 #873741 #418737
tetradic
#374187 #873769 #877D37 #378755
square
#374187 #873769 #877D37 #378755
split-complementary
#374187 #875537 #698737
monochromatic
#141730 #252C5C #374187 #4956B2 #737DC6

Accessibility & contrast

On white

9.26
#374187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #374187
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374187#FFFFFF#000000##FFFFFF
##3741871.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4B8A
Deuteranopia (green-blind)
#0E4486
Tritanopia (blue-blind)
#02515D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #374187;
/* rgb */ color: rgb(55, 65, 135);
/* oklch */ color: oklch(40.6% 0.116 273.9);
Tailwind
colors: {
  custom: {
    50: '#7575aa',
    500: '#374187',
    950: '#000000',
  },
}
SCSS
$custom: #374187;
$custom-light: #7575aa;
$custom-dark: #000000;
JSON
{
  "hex": "#374187",
  "rgb": {
    "r": 55,
    "g": 65,
    "b": 135
  },
  "hsl": {
    "h": 232.5,
    "s": 42.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40575,
    "c": 0.11634,
    "h": 273.9
  },
  "luminance": 0.06342
}

Semantic roles & 50–950 ramp

primary
#374187
secondary
#AFA66B
accent
#C256D2
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #374187

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

Preview Lab → · Contrast checker → · Palette generator →

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