#2B37C0#2B37C0

#2B37C0 is a dark, highly saturated blue. Relative luminance 0.071; OKLCH L 43.1% C 0.209 H 270.2°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#2B37C0
RGBrgb(43, 55, 192)
HSLhsl(235, 63%, 46%)
HSVhsv(235, 78%, 75%)
CMYKcmyk(77.6%, 71.4%, 0%, 24.7%)
CIE-LABlab(31.92, 43.39, -72.29)
CIE-LCHlch(31.92, 84.31, 300.98°)
OKLaboklab(43.11% 0.0006 -0.2093)
OKLCHoklch(43.11% 0.209 270.2)
XYZxyz(11.8736, 7.0504, 50.5940)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B37C0 #C0B42B
analogous
#2B81C0 #2B37C0 #692BC0
triadic
#2B37C0 #C02B37 #37C02B
tetradic
#2B37C0 #C02B81 #C0B42B #2BC069
square
#2B37C0 #C02B81 #C0B42B #2BC069
split-complementary
#2B37C0 #C0692B #81C02B
monochromatic
#151A5C #20298E #2B37C0 #505BD8 #828AE3

Accessibility & contrast

On white

8.71
#2B37C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#2B37C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B37C0
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B37C0#FFFFFF#000000##FFFFFF
##2B37C01.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C4
Deuteranopia (green-blind)
#0044BE
Tritanopia (blue-blind)
#005E78
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2b37c0;
/* rgb */ color: rgb(43, 55, 192);
/* oklch */ color: oklch(43.1% 0.209 270.2);
Tailwind
colors: {
  custom: {
    50: '#7e6fd4',
    500: '#2b37c0',
    950: '#000000',
  },
}
SCSS
$custom: #2b37c0;
$custom-light: #7e6fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b37c0",
  "rgb": {
    "r": 43,
    "g": 55,
    "b": 192
  },
  "hsl": {
    "h": 235.168,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.43105,
    "c": 0.20933,
    "h": 270.2
  },
  "luminance": 0.07052
}

Semantic roles & 50–950 ramp

primary
#2B37C0
secondary
#CCC67B
accent
#D941E6
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #2B37C0

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

Preview Lab → · Contrast checker → · Palette generator →

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