#374274#374274

#374274 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.5% C 0.086 H 272.6°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#374274
RGBrgb(55, 66, 116)
HSLhsl(229, 36%, 34%)
HSVhsv(229, 53%, 45%)
CMYKcmyk(52.6%, 43.1%, 0%, 54.5%)
CIE-LABlab(29.33, 10.88, -30.20)
CIE-LCHlch(29.33, 32.10, 289.81°)
OKLaboklab(39.48% 0.0038 -0.0855)
OKLCHoklch(39.48% 0.086 272.6)
XYZxyz(6.6751, 5.9692, 17.3200)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374274 #746937
analogous
#376074 #374274 #4A3774
triadic
#374274 #743742 #427437
tetradic
#374274 #743760 #746937 #37744A
square
#374274 #743760 #746937 #37744A
split-complementary
#374274 #744A37 #607437
monochromatic
#101321 #232A4A #374274 #4B5A9E #6C7AB9

Accessibility & contrast

On white

9.57
#374274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#374274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374274
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374274#FFFFFF#000000##FFFFFF
##3742741.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4876
Deuteranopia (green-blind)
#284373
Tritanopia (blue-blind)
#1D4D55
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #374274;
/* rgb */ color: rgb(55, 66, 116);
/* oklch */ color: oklch(39.5% 0.086 272.6);
Tailwind
colors: {
  custom: {
    50: '#72769c',
    500: '#374274',
    950: '#000000',
  },
}
SCSS
$custom: #374274;
$custom-light: #72769c;
$custom-dark: #000000;
JSON
{
  "hex": "#374274",
  "rgb": {
    "r": 55,
    "g": 66,
    "b": 116
  },
  "hsl": {
    "h": 229.18,
    "s": 35.673,
    "l": 33.529
  },
  "oklch": {
    "l": 0.39481,
    "c": 0.08563,
    "h": 272.6
  },
  "luminance": 0.0597
}

Semantic roles & 50–950 ramp

primary
#374274
secondary
#A29765
accent
#B85CCC
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#08080E
muted
#7B7B7E

Preview Lab

Preview with #374274

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

Preview Lab → · Contrast checker → · Palette generator →

#374274 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva