#374381#374381

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

Color values

HEX#374381
RGBrgb(55, 67, 129)
HSLhsl(230, 40%, 36%)
HSVhsv(230, 57%, 51%)
CMYKcmyk(57.4%, 48.1%, 0%, 49.4%)
CIE-LABlab(30.43, 14.76, -36.61)
CIE-LCHlch(30.43, 39.47, 291.96°)
OKLaboklab(40.58% 0.0049 -0.1043)
OKLCHoklch(40.58% 0.104 272.7)
XYZxyz(7.5439, 6.4110, 21.6045)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374381 #817537
analogous
#376881 #374381 #503781
triadic
#374381 #813743 #438137
tetradic
#374381 #813768 #817537 #378150
square
#374381 #813768 #817537 #378150
split-complementary
#374381 #815037 #688137
monochromatic
#12162B #252D56 #374381 #4959AC #707EC2

Accessibility & contrast

On white

9.20
#374381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#374381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374381
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374381#FFFFFF#000000##FFFFFF
##3743811.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274B83
Deuteranopia (green-blind)
#1D4580
Tritanopia (blue-blind)
#0E515B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #374381;
/* rgb */ color: rgb(55, 67, 129);
/* oklch */ color: oklch(40.6% 0.104 272.7);
Tailwind
colors: {
  custom: {
    50: '#7476a6',
    500: '#374381',
    950: '#000000',
  },
}
SCSS
$custom: #374381;
$custom-light: #7476a6;
$custom-dark: #000000;
JSON
{
  "hex": "#374381",
  "rgb": {
    "r": 55,
    "g": 67,
    "b": 129
  },
  "hsl": {
    "h": 230.27,
    "s": 40.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.40575,
    "c": 0.10443,
    "h": 272.7
  },
  "luminance": 0.06412
}

Semantic roles & 50–950 ramp

primary
#374381
secondary
#ABA069
accent
#BD58D0
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#09080F
muted
#7B7B7F

Preview Lab

Preview with #374381

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

Preview Lab → · Contrast checker → · Palette generator →

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