#374FAF#374FAF

#374FAF is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.5% C 0.155 H 269.0°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#374FAF
RGBrgb(55, 79, 175)
HSLhsl(228, 52%, 45%)
HSVhsv(228, 69%, 69%)
CMYKcmyk(68.6%, 54.9%, 0%, 31.4%)
CIE-LABlab(36.93, 23.44, -54.04)
CIE-LCHlch(36.93, 58.91, 293.45°)
OKLaboklab(46.51% -0.0028 -0.1554)
OKLCHoklch(46.51% 0.155 269)
XYZxyz(12.1067, 9.4982, 41.7444)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374FAF #AF9737
analogous
#378BAF #374FAF #5B37AF
triadic
#374FAF #AF374F #4FAF37
tetradic
#374FAF #AF378B #AF9737 #37AF5B
square
#374FAF #AF378B #AF9737 #37AF5B
split-complementary
#374FAF #AF5B37 #8BAF37
monochromatic
#1A2552 #283A80 #374FAF #596FCB #8798D9

Accessibility & contrast

On white

7.24
#374FAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#374FAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374FAF
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374FAF#FFFFFF#000000##FFFFFF
##374FAF1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#015DB2
Deuteranopia (green-blind)
#0052AD
Tritanopia (blue-blind)
#006677
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #374faf;
/* rgb */ color: rgb(55, 79, 175);
/* oklch */ color: oklch(46.5% 0.155 269.0);
Tailwind
colors: {
  custom: {
    50: '#7c80c8',
    500: '#374faf',
    950: '#000000',
  },
}
SCSS
$custom: #374faf;
$custom-light: #7c80c8;
$custom-dark: #000000;
JSON
{
  "hex": "#374faf",
  "rgb": {
    "r": 55,
    "g": 79,
    "b": 175
  },
  "hsl": {
    "h": 228,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.46506,
    "c": 0.15545,
    "h": 269
  },
  "luminance": 0.09499
}

Semantic roles & 50–950 ramp

primary
#374FAF
secondary
#C3B67F
accent
#BF4CDC
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #374FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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