#374FC7#374FC7

#374FC7 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.5% C 0.188 H 269.4°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#374FC7
RGBrgb(55, 79, 199)
HSLhsl(230, 57%, 50%)
HSVhsv(230, 72%, 78%)
CMYKcmyk(72.4%, 60.3%, 0%, 22%)
CIE-LABlab(38.77, 32.17, -65.12)
CIE-LCHlch(38.77, 72.63, 296.29°)
OKLaboklab(48.46% -0.0021 -0.188)
OKLCHoklch(48.46% 0.188 269.4)
XYZxyz(14.6768, 10.5262, 55.2800)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374FC7 #C7AF37
analogous
#3797C7 #374FC7 #6737C7
triadic
#374FC7 #C7374F #4FC737
tetradic
#374FC7 #C73797 #C7AF37 #37C767
square
#374FC7 #C73797 #C7AF37 #37C767
split-complementary
#374FC7 #C76737 #97C737
monochromatic
#1C2967 #2A3C97 #374FC7 #6679D5 #96A3E2

Accessibility & contrast

On white

6.76
#374FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#374FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #374FC7
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374FC7#FFFFFF#000000##FFFFFF
##374FC71.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CB
Deuteranopia (green-blind)
#0055C5
Tritanopia (blue-blind)
#006D83
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #374fc7;
/* rgb */ color: rgb(55, 79, 199);
/* oklch */ color: oklch(48.5% 0.188 269.4);
Tailwind
colors: {
  custom: {
    50: '#8180d9',
    500: '#374fc7',
    950: '#000000',
  },
}
SCSS
$custom: #374fc7;
$custom-light: #8180d9;
$custom-dark: #000000;
JSON
{
  "hex": "#374fc7",
  "rgb": {
    "r": 55,
    "g": 79,
    "b": 199
  },
  "hsl": {
    "h": 230,
    "s": 56.693,
    "l": 49.804
  },
  "oklch": {
    "l": 0.48463,
    "c": 0.188,
    "h": 269.4
  },
  "luminance": 0.10528
}

Semantic roles & 50–950 ramp

primary
#374FC7
secondary
#CDC38C
accent
#C748E0
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #374FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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