#374FA6#374FA6

#374FA6 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.8% C 0.143 H 268.6°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#374FA6
RGBrgb(55, 79, 166)
HSLhsl(227, 50%, 43%)
HSVhsv(227, 67%, 65%)
CMYKcmyk(66.9%, 52.4%, 0%, 34.9%)
CIE-LABlab(36.28, 20.15, -49.73)
CIE-LCHlch(36.28, 53.65, 292.06°)
OKLaboklab(45.82% -0.0035 -0.1427)
OKLCHoklch(45.82% 0.143 268.6)
XYZxyz(11.2521, 9.1563, 37.2434)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374FA6 #A68E37
analogous
#3786A6 #374FA6 #5637A6
triadic
#374FA6 #A6374F #4FA637
tetradic
#374FA6 #A63786 #A68E37 #37A656
square
#374FA6 #A63786 #A68E37 #37A656
split-complementary
#374FA6 #A65637 #86A637
monochromatic
#19234A #283978 #374FA6 #546DC6 #8294D6

Accessibility & contrast

On white

7.42
#374FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#374FA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374FA6
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374FA6#FFFFFF#000000##FFFFFF
##374FA61.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195BA9
Deuteranopia (green-blind)
#0051A4
Tritanopia (blue-blind)
#006373
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #374fa6;
/* rgb */ color: rgb(55, 79, 166);
/* oklch */ color: oklch(45.8% 0.143 268.6);
Tailwind
colors: {
  custom: {
    50: '#7a7fc1',
    500: '#374fa6',
    950: '#000000',
  },
}
SCSS
$custom: #374fa6;
$custom-light: #7a7fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#374fa6",
  "rgb": {
    "r": 55,
    "g": 79,
    "b": 166
  },
  "hsl": {
    "h": 227.027,
    "s": 50.226,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45817,
    "c": 0.14278,
    "h": 268.6
  },
  "luminance": 0.09157
}

Semantic roles & 50–950 ramp

primary
#374FA6
secondary
#BFB07A
accent
#BC4EDA
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #374FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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