#374AA6#374AA6

#374AA6 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.8% C 0.149 H 270.5°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#374AA6
RGBrgb(55, 74, 166)
HSLhsl(230, 50%, 43%)
HSVhsv(230, 67%, 65%)
CMYKcmyk(66.9%, 55.4%, 0%, 34.9%)
CIE-LABlab(34.93, 23.44, -51.92)
CIE-LCHlch(34.93, 56.97, 294.30°)
OKLaboklab(44.79% 0.0012 -0.1493)
OKLCHoklch(44.79% 0.149 270.5)
XYZxyz(10.9049, 8.4620, 37.1276)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374AA6 #A69337
analogous
#3781A6 #374AA6 #5B37A6
triadic
#374AA6 #A6374A #4AA637
tetradic
#374AA6 #A63781 #A69337 #37A65B
square
#374AA6 #A63781 #A69337 #37A65B
split-complementary
#374AA6 #A65B37 #81A637
monochromatic
#19214A #283678 #374AA6 #5467C6 #8290D6

Accessibility & contrast

On white

7.80
#374AA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#374AA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374AA6
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374AA6#FFFFFF#000000##FFFFFF
##374AA61.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057A9
Deuteranopia (green-blind)
#004DA4
Tritanopia (blue-blind)
#006070
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #374aa6;
/* rgb */ color: rgb(55, 74, 166);
/* oklch */ color: oklch(44.8% 0.149 270.5);
Tailwind
colors: {
  custom: {
    50: '#7b7cc1',
    500: '#374aa6',
    950: '#000000',
  },
}
SCSS
$custom: #374aa6;
$custom-light: #7b7cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#374aa6",
  "rgb": {
    "r": 55,
    "g": 74,
    "b": 166
  },
  "hsl": {
    "h": 229.73,
    "s": 50.226,
    "l": 43.333
  },
  "oklch": {
    "l": 0.44794,
    "c": 0.14926,
    "h": 270.5
  },
  "luminance": 0.08463
}

Semantic roles & 50–950 ramp

primary
#374AA6
secondary
#BFB37A
accent
#C24EDA
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #374AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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