#2B37BF#2B37BF

#2B37BF is a dark, highly saturated blue. Relative luminance 0.070; OKLCH L 43.0% C 0.208 H 270.2°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#2B37BF
RGBrgb(43, 55, 191)
HSLhsl(235, 63%, 46%)
HSVhsv(235, 77%, 75%)
CMYKcmyk(77.5%, 71.2%, 0%, 25.1%)
CIE-LABlab(31.82, 43.05, -71.86)
CIE-LCHlch(31.82, 83.77, 300.92°)
OKLaboklab(43% 0.0007 -0.2081)
OKLCHoklch(43% 0.208 270.2)
XYZxyz(11.7632, 7.0062, 50.0125)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B37BF #BFB32B
analogous
#2B81BF #2B37BF #692BBF
triadic
#2B37BF #BF2B37 #37BF2B
tetradic
#2B37BF #BF2B81 #BFB32B #2BBF69
square
#2B37BF #BF2B81 #BFB32B #2BBF69
split-complementary
#2B37BF #BF692B #81BF2B
monochromatic
#151A5B #20298D #2B37BF #505BD8 #828AE3

Accessibility & contrast

On white

8.74
#2B37BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2B37BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B37BF
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B37BF#FFFFFF#000000##FFFFFF
##2B37BF1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C3
Deuteranopia (green-blind)
#0044BD
Tritanopia (blue-blind)
#005D77
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2b37bf;
/* rgb */ color: rgb(43, 55, 191);
/* oklch */ color: oklch(43.0% 0.208 270.2);
Tailwind
colors: {
  custom: {
    50: '#7d6fd4',
    500: '#2b37bf',
    950: '#000000',
  },
}
SCSS
$custom: #2b37bf;
$custom-light: #7d6fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b37bf",
  "rgb": {
    "r": 43,
    "g": 55,
    "b": 191
  },
  "hsl": {
    "h": 235.135,
    "s": 63.248,
    "l": 45.882
  },
  "oklch": {
    "l": 0.43003,
    "c": 0.2081,
    "h": 270.2
  },
  "luminance": 0.07008
}

Semantic roles & 50–950 ramp

primary
#2B37BF
secondary
#CCC57A
accent
#D942E6
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #2B37BF

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

Preview Lab → · Contrast checker → · Palette generator →

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