#2A37C7#2A37C7

#2A37C7 is a dark, highly saturated blue. Relative luminance 0.073; OKLCH L 43.8% C 0.218 H 269.7°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#2A37C7
RGBrgb(42, 55, 199)
HSLhsl(235, 65%, 47%)
HSVhsv(235, 79%, 78%)
CMYKcmyk(78.9%, 72.4%, 0%, 22%)
CIE-LABlab(32.58, 45.71, -75.30)
CIE-LCHlch(32.58, 88.09, 301.26°)
OKLaboklab(43.78% -0.0013 -0.2181)
OKLCHoklch(43.78% 0.218 269.7)
XYZxyz(12.6263, 7.3467, 54.7744)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A37C7 #C7BA2A
analogous
#2A85C7 #2A37C7 #6C2AC7
triadic
#2A37C7 #C72A37 #37C72A
tetradic
#2A37C7 #C72A85 #C7BA2A #2AC76C
square
#2A37C7 #C72A85 #C7BA2A #2AC76C
split-complementary
#2A37C7 #C76C2A #85C72A
monochromatic
#151B62 #1F2994 #2A37C7 #535FDB #868EE5

Accessibility & contrast

On white

8.50
#2A37C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2A37C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A37C7
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A37C7#FFFFFF#000000##FFFFFF
##2A37C71.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054CB
Deuteranopia (green-blind)
#0045C4
Tritanopia (blue-blind)
#00607C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2a37c7;
/* rgb */ color: rgb(42, 55, 199);
/* oklch */ color: oklch(43.8% 0.218 269.7);
Tailwind
colors: {
  custom: {
    50: '#7f6fd9',
    500: '#2a37c7',
    950: '#000000',
  },
}
SCSS
$custom: #2a37c7;
$custom-light: #7f6fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a37c7",
  "rgb": {
    "r": 42,
    "g": 55,
    "b": 199
  },
  "hsl": {
    "h": 235.032,
    "s": 65.145,
    "l": 47.255
  },
  "oklch": {
    "l": 0.43778,
    "c": 0.21811,
    "h": 269.7
  },
  "luminance": 0.07348
}

Semantic roles & 50–950 ramp

primary
#2A37C7
secondary
#CFC87E
accent
#DA40E8
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #2A37C7

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

Preview Lab → · Contrast checker → · Palette generator →

#2A37C7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva