#374271#374271

#374271 is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.3% C 0.081 H 272.2°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#374271
RGBrgb(55, 66, 113)
HSLhsl(229, 35%, 33%)
HSVhsv(229, 51%, 44%)
CMYKcmyk(51.3%, 41.6%, 0%, 55.7%)
CIE-LABlab(29.16, 9.85, -28.58)
CIE-LCHlch(29.16, 30.23, 289.02°)
OKLaboklab(39.29% 0.0032 -0.0808)
OKLCHoklch(39.29% 0.081 272.2)
XYZxyz(6.5035, 5.9005, 16.4158)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374271 #716637
analogous
#375F71 #374271 #493771
triadic
#374271 #713742 #427137
tetradic
#374271 #71375F #716637 #377149
square
#374271 #71375F #716637 #377149
split-complementary
#374271 #714937 #5F7137
monochromatic
#0F121F #232A48 #374271 #4B5A9A #6B7AB7

Accessibility & contrast

On white

9.63
#374271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#374271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374271
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374271#FFFFFF#000000##FFFFFF
##3742711.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304773
Deuteranopia (green-blind)
#2A4270
Tritanopia (blue-blind)
#204C54
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #374271;
/* rgb */ color: rgb(55, 66, 113);
/* oklch */ color: oklch(39.3% 0.081 272.2);
Tailwind
colors: {
  custom: {
    50: '#72769a',
    500: '#374271',
    950: '#000000',
  },
}
SCSS
$custom: #374271;
$custom-light: #72769a;
$custom-dark: #000000;
JSON
{
  "hex": "#374271",
  "rgb": {
    "r": 55,
    "g": 66,
    "b": 113
  },
  "hsl": {
    "h": 228.621,
    "s": 34.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.3929,
    "c": 0.08087,
    "h": 272.2
  },
  "luminance": 0.05901
}

Semantic roles & 50–950 ramp

primary
#374271
secondary
#A09564
accent
#B65DCB
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#08080E
muted
#7B7B7E

Preview Lab

Preview with #374271

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

Preview Lab → · Contrast checker → · Palette generator →

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