#2737A1#2737A1

#2737A1 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.8% C 0.171 H 269.9°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#2737A1
RGBrgb(39, 55, 161)
HSLhsl(232, 61%, 39%)
HSVhsv(232, 76%, 63%)
CMYKcmyk(75.8%, 65.8%, 0%, 36.9%)
CIE-LABlab(28.74, 31.93, -59.04)
CIE-LCHlch(28.74, 67.12, 298.41°)
OKLaboklab(39.84% -0.0004 -0.1707)
OKLCHoklch(39.84% 0.171 269.9)
XYZxyz(8.6337, 5.7360, 34.3634)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2737A1 #A19127
analogous
#2774A1 #2737A1 #5427A1
triadic
#2737A1 #A12737 #37A127
tetradic
#2737A1 #A12774 #A19127 #27A154
square
#2737A1 #A12774 #A19127 #27A154
split-complementary
#2737A1 #A15427 #74A127
monochromatic
#0F153E #1B2670 #2737A1 #374BCE #6877DA

Accessibility & contrast

On white

9.78
#2737A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2737A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2737A1
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2737A1#FFFFFF#000000##FFFFFF
##2737A11.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA4
Deuteranopia (green-blind)
#003E9F
Tritanopia (blue-blind)
#005367
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2737a1;
/* rgb */ color: rgb(39, 55, 161);
/* oklch */ color: oklch(39.8% 0.171 269.9);
Tailwind
colors: {
  custom: {
    50: '#756ebe',
    500: '#2737a1',
    950: '#000000',
  },
}
SCSS
$custom: #2737a1;
$custom-light: #756ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#2737a1",
  "rgb": {
    "r": 39,
    "g": 55,
    "b": 161
  },
  "hsl": {
    "h": 232.131,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39838,
    "c": 0.17073,
    "h": 269.9
  },
  "luminance": 0.05737
}

Semantic roles & 50–950 ramp

primary
#2737A1
secondary
#C0B463
accent
#CF44E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2737A1

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

Preview Lab → · Contrast checker → · Palette generator →

#2737A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva