#374378#374378

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

Color values

HEX#374378
RGBrgb(55, 67, 120)
HSLhsl(229, 37%, 34%)
HSVhsv(229, 54%, 47%)
CMYKcmyk(54.2%, 44.2%, 0%, 52.9%)
CIE-LABlab(29.87, 11.60, -31.87)
CIE-LCHlch(29.87, 33.92, 289.99°)
OKLaboklab(39.97% 0.0033 -0.0904)
OKLCHoklch(39.97% 0.09 272.1)
XYZxyz(6.9718, 6.1821, 18.5916)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374378 #786C37
analogous
#376478 #374378 #4C3778
triadic
#374378 #783743 #437837
tetradic
#374378 #783764 #786C37 #37784C
square
#374378 #783764 #786C37 #37784C
split-complementary
#374378 #784C37 #647837
monochromatic
#111424 #242C4E #374378 #4A5AA2 #6D7CBC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##374378#FFFFFF#000000##FFFFFF
##3743781.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)
#2D497A
Deuteranopia (green-blind)
#264477
Tritanopia (blue-blind)
#1A4E57
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #374378;
/* rgb */ color: rgb(55, 67, 120);
/* oklch */ color: oklch(40.0% 0.090 272.1);
Tailwind
colors: {
  custom: {
    50: '#73769f',
    500: '#374378',
    950: '#000000',
  },
}
SCSS
$custom: #374378;
$custom-light: #73769f;
$custom-dark: #000000;
JSON
{
  "hex": "#374378",
  "rgb": {
    "r": 55,
    "g": 67,
    "b": 120
  },
  "hsl": {
    "h": 228.923,
    "s": 37.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.39967,
    "c": 0.09049,
    "h": 272.1
  },
  "luminance": 0.06183
}

Semantic roles & 50–950 ramp

primary
#374378
secondary
#A59966
accent
#B85BCD
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#08080E
muted
#7B7B7E

Preview Lab

Preview with #374378

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

Preview Lab → · Contrast checker → · Palette generator →

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