#374281#374281

#374281 is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.4% C 0.106 H 273.3°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#374281
RGBrgb(55, 66, 129)
HSLhsl(231, 40%, 36%)
HSVhsv(231, 57%, 51%)
CMYKcmyk(57.4%, 48.8%, 0%, 49.4%)
CIE-LABlab(30.14, 15.43, -37.06)
CIE-LCHlch(30.14, 40.15, 292.61°)
OKLaboklab(40.36% 0.0061 -0.1057)
OKLCHoklch(40.36% 0.106 273.3)
XYZxyz(7.4849, 6.2931, 21.5849)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374281 #817637
analogous
#376781 #374281 #513781
triadic
#374281 #813742 #428137
tetradic
#374281 #813767 #817637 #378151
square
#374281 #813767 #817637 #378151
split-complementary
#374281 #815137 #678137
monochromatic
#12162B #252C56 #374281 #4958AC #707CC2

Accessibility & contrast

On white

9.30
#374281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#374281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374281
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374281#FFFFFF#000000##FFFFFF
##3742811.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254A83
Deuteranopia (green-blind)
#1B4480
Tritanopia (blue-blind)
#0E505B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #374281;
/* rgb */ color: rgb(55, 66, 129);
/* oklch */ color: oklch(40.4% 0.106 273.3);
Tailwind
colors: {
  custom: {
    50: '#7476a6',
    500: '#374281',
    950: '#000000',
  },
}
SCSS
$custom: #374281;
$custom-light: #7476a6;
$custom-dark: #000000;
JSON
{
  "hex": "#374281",
  "rgb": {
    "r": 55,
    "g": 66,
    "b": 129
  },
  "hsl": {
    "h": 231.081,
    "s": 40.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.40357,
    "c": 0.10585,
    "h": 273.3
  },
  "luminance": 0.06294
}

Semantic roles & 50–950 ramp

primary
#374281
secondary
#ABA169
accent
#BE58D0
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#09080F
muted
#7B7B7F

Preview Lab

Preview with #374281

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

Preview Lab → · Contrast checker → · Palette generator →

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