#2A37B9#2A37B9

#2A37B9 is a dark, highly saturated blue. Relative luminance 0.067; OKLCH L 42.3% C 0.201 H 270.1°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#2A37B9
RGBrgb(42, 55, 185)
HSLhsl(235, 63%, 45%)
HSVhsv(235, 77%, 73%)
CMYKcmyk(77.3%, 70.3%, 0%, 27.5%)
CIE-LABlab(31.18, 40.87, -69.39)
CIE-LCHlch(31.18, 80.53, 300.50°)
OKLaboklab(42.35% 0.0005 -0.2009)
OKLCHoklch(42.35% 0.201 270.1)
XYZxyz(11.0750, 6.7262, 46.6041)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A37B9 #B9AC2A
analogous
#2A7FB9 #2A37B9 #642AB9
triadic
#2A37B9 #B92A37 #37B92A
tetradic
#2A37B9 #B92A7F #B9AC2A #2AB964
square
#2A37B9 #B92A7F #B9AC2A #2AB964
split-complementary
#2A37B9 #B9642A #7FB92A
monochromatic
#131955 #1F2887 #2A37B9 #4A57D6 #7C85E1

Accessibility & contrast

On white

8.95
#2A37B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2A37B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A37B9
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A37B9#FFFFFF#000000##FFFFFF
##2A37B91.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BD
Deuteranopia (green-blind)
#0042B7
Tritanopia (blue-blind)
#005B74
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2a37b9;
/* rgb */ color: rgb(42, 55, 185);
/* oklch */ color: oklch(42.3% 0.201 270.1);
Tailwind
colors: {
  custom: {
    50: '#7b6ecf',
    500: '#2a37b9',
    950: '#000000',
  },
}
SCSS
$custom: #2a37b9;
$custom-light: #7b6ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a37b9",
  "rgb": {
    "r": 42,
    "g": 55,
    "b": 185
  },
  "hsl": {
    "h": 234.545,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42345,
    "c": 0.2009,
    "h": 270.1
  },
  "luminance": 0.06727
}

Semantic roles & 50–950 ramp

primary
#2A37B9
secondary
#CAC275
accent
#D742E6
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2A37B9

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

Preview Lab → · Contrast checker → · Palette generator →

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