#2B37C4#2B37C4

#2B37C4 is a dark, highly saturated blue. Relative luminance 0.072; OKLCH L 43.5% C 0.214 H 270.0°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#2B37C4
RGBrgb(43, 55, 196)
HSLhsl(235, 64%, 47%)
HSVhsv(235, 78%, 77%)
CMYKcmyk(78.1%, 71.9%, 0%, 23.1%)
CIE-LABlab(32.33, 44.76, -73.97)
CIE-LCHlch(32.33, 86.46, 301.18°)
OKLaboklab(43.52% 0.0001 -0.2142)
OKLCHoklch(43.52% 0.214 270)
XYZxyz(12.3228, 7.2301, 52.9599)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B37C4 #C4B82B
analogous
#2B84C4 #2B37C4 #6C2BC4
triadic
#2B37C4 #C42B37 #37C42B
tetradic
#2B37C4 #C42B84 #C4B82B #2BC46C
square
#2B37C4 #C42B84 #C4B82B #2BC46C
split-complementary
#2B37C4 #C46C2B #84C42B
monochromatic
#151B60 #202992 #2B37C4 #535DD9 #858DE4

Accessibility & contrast

On white

8.58
#2B37C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2B37C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B37C4
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B37C4#FFFFFF#000000##FFFFFF
##2B37C41.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C8
Deuteranopia (green-blind)
#0044C1
Tritanopia (blue-blind)
#005F7A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2b37c4;
/* rgb */ color: rgb(43, 55, 196);
/* oklch */ color: oklch(43.5% 0.214 270.0);
Tailwind
colors: {
  custom: {
    50: '#7e6fd7',
    500: '#2b37c4',
    950: '#000000',
  },
}
SCSS
$custom: #2b37c4;
$custom-light: #7e6fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b37c4",
  "rgb": {
    "r": 43,
    "g": 55,
    "b": 196
  },
  "hsl": {
    "h": 235.294,
    "s": 64.017,
    "l": 46.863
  },
  "oklch": {
    "l": 0.43515,
    "c": 0.21422,
    "h": 270
  },
  "luminance": 0.07231
}

Semantic roles & 50–950 ramp

primary
#2B37C4
secondary
#CEC77D
accent
#DA41E7
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #2B37C4

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

Preview Lab → · Contrast checker → · Palette generator →

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