#3748AB#3748AB

#3748AB is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.8% C 0.159 H 271.1°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#3748AB
RGBrgb(55, 72, 171)
HSLhsl(231, 51%, 44%)
HSVhsv(231, 68%, 67%)
CMYKcmyk(67.8%, 57.9%, 0%, 32.9%)
CIE-LABlab(34.77, 26.57, -55.15)
CIE-LCHlch(34.77, 61.22, 295.73°)
OKLaboklab(44.8% 0.0032 -0.1588)
OKLCHoklch(44.8% 0.159 271.1)
XYZxyz(11.2411, 8.3862, 39.5465)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3748AB #AB9A37
analogous
#3782AB #3748AB #6037AB
triadic
#3748AB #AB3748 #48AB37
tetradic
#3748AB #AB3782 #AB9A37 #37AB60
square
#3748AB #AB3782 #AB9A37 #37AB60
split-complementary
#3748AB #AB6037 #82AB37
monochromatic
#19214E #28357D #3748AB #5667C9 #8591D8

Accessibility & contrast

On white

7.84
#3748AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#3748AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3748AB
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3748AB#FFFFFF#000000##FFFFFF
##3748AB1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AE
Deuteranopia (green-blind)
#004DA9
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3748ab;
/* rgb */ color: rgb(55, 72, 171);
/* oklch */ color: oklch(44.8% 0.159 271.1);
Tailwind
colors: {
  custom: {
    50: '#7c7ac5',
    500: '#3748ab',
    950: '#000000',
  },
}
SCSS
$custom: #3748ab;
$custom-light: #7c7ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#3748ab",
  "rgb": {
    "r": 55,
    "g": 72,
    "b": 171
  },
  "hsl": {
    "h": 231.207,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.44799,
    "c": 0.15883,
    "h": 271.1
  },
  "luminance": 0.08387
}

Semantic roles & 50–950 ramp

primary
#3748AB
secondary
#C1B77C
accent
#C64DDB
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3748AB

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

Preview Lab → · Contrast checker → · Palette generator →

#3748AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva