#2A37B0#2A37B0

#2A37B0 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.4% C 0.190 H 270.4°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#2A37B0
RGBrgb(42, 55, 176)
HSLhsl(234, 61%, 43%)
HSVhsv(234, 76%, 69%)
CMYKcmyk(76.1%, 68.8%, 0%, 31%)
CIE-LABlab(30.30, 37.69, -65.48)
CIE-LCHlch(30.30, 75.56, 299.92°)
OKLaboklab(41.45% 0.0014 -0.1895)
OKLCHoklch(41.45% 0.19 270.4)
XYZxyz(10.1548, 6.3581, 41.7579)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A37B0 #B0A32A
analogous
#2A7AB0 #2A37B0 #602AB0
triadic
#2A37B0 #B02A37 #37B02A
tetradic
#2A37B0 #B02A7A #B0A32A #2AB060
square
#2A37B0 #B02A7A #B0A32A #2AB060
split-complementary
#2A37B0 #B0602A #7AB02A
monochromatic
#12184D #1E287F #2A37B0 #4552D3 #7680DE

Accessibility & contrast

On white

9.24
#2A37B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2A37B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A37B0
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A37B0#FFFFFF#000000##FFFFFF
##2A37B01.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB4
Deuteranopia (green-blind)
#0041AE
Tritanopia (blue-blind)
#00586F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2a37b0;
/* rgb */ color: rgb(42, 55, 176);
/* oklch */ color: oklch(41.4% 0.190 270.4);
Tailwind
colors: {
  custom: {
    50: '#796ec9',
    500: '#2a37b0',
    950: '#000000',
  },
}
SCSS
$custom: #2a37b0;
$custom-light: #796ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a37b0",
  "rgb": {
    "r": 42,
    "g": 55,
    "b": 176
  },
  "hsl": {
    "h": 234.179,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.41447,
    "c": 0.18952,
    "h": 270.4
  },
  "luminance": 0.06359
}

Semantic roles & 50–950 ramp

primary
#2A37B0
secondary
#C6BE70
accent
#D543E5
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2A37B0

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

Preview Lab → · Contrast checker → · Palette generator →

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