#374181#374181

#374181 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 40.1% C 0.107 H 273.9°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#374181
RGBrgb(55, 65, 129)
HSLhsl(232, 40%, 36%)
HSVhsv(232, 57%, 51%)
CMYKcmyk(57.4%, 49.6%, 0%, 49.4%)
CIE-LABlab(29.86, 16.11, -37.52)
CIE-LCHlch(29.86, 40.83, 293.23°)
OKLaboklab(40.14% 0.0073 -0.107)
OKLCHoklch(40.14% 0.107 273.9)
XYZxyz(7.4270, 6.1773, 21.5656)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374181 #817737
analogous
#376681 #374181 #523781
triadic
#374181 #813741 #418137
tetradic
#374181 #813766 #817737 #378152
square
#374181 #813766 #817737 #378152
split-complementary
#374181 #815237 #668137
monochromatic
#12162B #252B56 #374181 #4957AC #707BC2

Accessibility & contrast

On white

9.39
#374181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#374181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374181
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374181#FFFFFF#000000##FFFFFF
##3741811.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234A83
Deuteranopia (green-blind)
#194380
Tritanopia (blue-blind)
#0F4F5B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #374181;
/* rgb */ color: rgb(55, 65, 129);
/* oklch */ color: oklch(40.1% 0.107 273.9);
Tailwind
colors: {
  custom: {
    50: '#7475a6',
    500: '#374181',
    950: '#000000',
  },
}
SCSS
$custom: #374181;
$custom-light: #7475a6;
$custom-dark: #000000;
JSON
{
  "hex": "#374181",
  "rgb": {
    "r": 55,
    "g": 65,
    "b": 129
  },
  "hsl": {
    "h": 231.892,
    "s": 40.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.40141,
    "c": 0.10727,
    "h": 273.9
  },
  "luminance": 0.06178
}

Semantic roles & 50–950 ramp

primary
#374181
secondary
#ABA269
accent
#C058D0
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#09080F
muted
#7B7B7F

Preview Lab

Preview with #374181

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

Preview Lab → · Contrast checker → · Palette generator →

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