#374DC8#374DC8

#374DC8 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.2% C 0.192 H 269.8°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#374DC8
RGBrgb(55, 77, 200)
HSLhsl(231, 57%, 50%)
HSVhsv(231, 73%, 78%)
CMYKcmyk(72.5%, 61.5%, 0%, 21.6%)
CIE-LABlab(38.36, 33.80, -66.38)
CIE-LCHlch(38.36, 74.49, 296.99°)
OKLaboklab(48.18% -0.0007 -0.1917)
OKLCHoklch(48.18% 0.192 269.8)
XYZxyz(14.6512, 10.2886, 55.8461)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374DC8 #C8B237
analogous
#3795C8 #374DC8 #6A37C8
triadic
#374DC8 #C8374D #4DC837
tetradic
#374DC8 #C83795 #C8B237 #37C86A
square
#374DC8 #C83795 #C8B237 #37C86A
split-complementary
#374DC8 #C86A37 #95C837
monochromatic
#1D2868 #2A3B98 #374DC8 #6778D5 #97A2E2

Accessibility & contrast

On white

6.87
#374DC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#374DC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #374DC8
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374DC8#FFFFFF#000000##FFFFFF
##374DC81.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CC
Deuteranopia (green-blind)
#0054C6
Tritanopia (blue-blind)
#006C83
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #374dc8;
/* rgb */ color: rgb(55, 77, 200);
/* oklch */ color: oklch(48.2% 0.192 269.8);
Tailwind
colors: {
  custom: {
    50: '#827eda',
    500: '#374dc8',
    950: '#000000',
  },
}
SCSS
$custom: #374dc8;
$custom-light: #827eda;
$custom-dark: #000000;
JSON
{
  "hex": "#374dc8",
  "rgb": {
    "r": 55,
    "g": 77,
    "b": 200
  },
  "hsl": {
    "h": 230.897,
    "s": 56.863,
    "l": 50
  },
  "oklch": {
    "l": 0.4818,
    "c": 0.19171,
    "h": 269.8
  },
  "luminance": 0.1029
}

Semantic roles & 50–950 ramp

primary
#374DC8
secondary
#CEC48D
accent
#C948E0
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #374DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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