#3738B2#3738B2

#3738B2 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.6% C 0.188 H 274.6°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#3738B2
RGBrgb(55, 56, 178)
HSLhsl(240, 53%, 46%)
HSVhsv(240, 69%, 70%)
CMYKcmyk(69.1%, 68.5%, 0%, 30.2%)
CIE-LABlab(31.47, 39.21, -64.72)
CIE-LCHlch(31.47, 75.67, 301.21°)
OKLaboklab(42.56% 0.0151 -0.187)
OKLCHoklch(42.56% 0.188 274.6)
XYZxyz(11.0229, 6.8539, 42.8529)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3738B2 #B2B137
analogous
#3775B2 #3738B2 #7337B2
triadic
#3738B2 #B23738 #38B237
tetradic
#3738B2 #B23775 #B2B137 #37B273
square
#3738B2 #B23775 #B2B137 #37B273
split-complementary
#3738B2 #B27337 #75B237
monochromatic
#1A1B54 #292983 #3738B2 #5A5BCC #898ADB

Accessibility & contrast

On white

8.86
#3738B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#3738B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3738B2
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3738B2#FFFFFF#000000##FFFFFF
##3738B21.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B6
Deuteranopia (green-blind)
#0044B0
Tritanopia (blue-blind)
#005970
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3738b2;
/* rgb */ color: rgb(55, 56, 178);
/* oklch */ color: oklch(42.6% 0.188 274.6);
Tailwind
colors: {
  custom: {
    50: '#7f6fca',
    500: '#3738b2',
    950: '#000000',
  },
}
SCSS
$custom: #3738b2;
$custom-light: #7f6fca;
$custom-dark: #000000;
JSON
{
  "hex": "#3738b2",
  "rgb": {
    "r": 55,
    "g": 56,
    "b": 178
  },
  "hsl": {
    "h": 239.512,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.42556,
    "c": 0.18758,
    "h": 274.6
  },
  "luminance": 0.06855
}

Semantic roles & 50–950 ramp

primary
#3738B2
secondary
#C5C480
accent
#DB4CDC
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3738B2

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

Preview Lab → · Contrast checker → · Palette generator →

#3738B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva