#374B95#374B95

#374B95 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.7% C 0.123 H 269.4°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#374B95
RGBrgb(55, 75, 149)
HSLhsl(227, 46%, 40%)
HSVhsv(227, 63%, 58%)
CMYKcmyk(63.1%, 49.7%, 0%, 41.6%)
CIE-LABlab(34.01, 16.60, -43.15)
CIE-LCHlch(34.01, 46.23, 291.04°)
OKLaboklab(43.72% -0.0013 -0.1234)
OKLCHoklch(43.72% 0.123 269.4)
XYZxyz(9.5146, 8.0135, 29.4733)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374B95 #958137
analogous
#377A95 #374B95 #523795
triadic
#374B95 #95374B #4B9537
tetradic
#374B95 #95377A #958137 #379552
square
#374B95 #95377A #958137 #379552
split-complementary
#374B95 #955237 #7A9537
monochromatic
#161E3C #273568 #374B95 #4C64BD #798BCD

Accessibility & contrast

On white

8.07
#374B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#374B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374B95
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374B95#FFFFFF#000000##FFFFFF
##374B951.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255498
Deuteranopia (green-blind)
#124C93
Tritanopia (blue-blind)
#005C69
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #374b95;
/* rgb */ color: rgb(55, 75, 149);
/* oklch */ color: oklch(43.7% 0.123 269.4);
Tailwind
colors: {
  custom: {
    50: '#777cb5',
    500: '#374b95',
    950: '#000000',
  },
}
SCSS
$custom: #374b95;
$custom-light: #777cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#374b95",
  "rgb": {
    "r": 55,
    "g": 75,
    "b": 149
  },
  "hsl": {
    "h": 227.234,
    "s": 46.078,
    "l": 40
  },
  "oklch": {
    "l": 0.43722,
    "c": 0.12346,
    "h": 269.4
  },
  "luminance": 0.08014
}

Semantic roles & 50–950 ramp

primary
#374B95
secondary
#B6A871
accent
#BA52D6
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #374B95

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

Preview Lab → · Contrast checker → · Palette generator →

#374B95 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva