#2A37B5#2A37B5

#2A37B5 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.9% C 0.196 H 270.3°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#2A37B5
RGBrgb(42, 55, 181)
HSLhsl(234, 62%, 44%)
HSVhsv(234, 77%, 71%)
CMYKcmyk(76.8%, 69.6%, 0%, 29%)
CIE-LABlab(30.78, 39.47, -67.66)
CIE-LCHlch(30.78, 78.33, 300.25°)
OKLaboklab(41.94% 0.0009 -0.1959)
OKLCHoklch(41.94% 0.196 270.3)
XYZxyz(10.6587, 6.5596, 44.4115)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A37B5 #B5A82A
analogous
#2A7CB5 #2A37B5 #622AB5
triadic
#2A37B5 #B52A37 #37B52A
tetradic
#2A37B5 #B52A7C #B5A82A #2AB562
square
#2A37B5 #B52A7C #B5A82A #2AB562
split-complementary
#2A37B5 #B5622A #7CB52A
monochromatic
#131952 #1E2883 #2A37B5 #4855D4 #7983E0

Accessibility & contrast

On white

9.08
#2A37B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2A37B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A37B5
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A37B5#FFFFFF#000000##FFFFFF
##2A37B51.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB9
Deuteranopia (green-blind)
#0042B3
Tritanopia (blue-blind)
#005A72
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2a37b5;
/* rgb */ color: rgb(42, 55, 181);
/* oklch */ color: oklch(41.9% 0.196 270.3);
Tailwind
colors: {
  custom: {
    50: '#7b6ecc',
    500: '#2a37b5',
    950: '#000000',
  },
}
SCSS
$custom: #2a37b5;
$custom-light: #7b6ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a37b5",
  "rgb": {
    "r": 42,
    "g": 55,
    "b": 181
  },
  "hsl": {
    "h": 234.388,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41944,
    "c": 0.19587,
    "h": 270.3
  },
  "luminance": 0.06561
}

Semantic roles & 50–950 ramp

primary
#2A37B5
secondary
#C8C073
accent
#D642E5
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2A37B5

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

Preview Lab → · Contrast checker → · Palette generator →

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