#2B37B2#2B37B2

#2B37B2 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.7% C 0.192 H 270.7°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#2B37B2
RGBrgb(43, 55, 178)
HSLhsl(235, 61%, 43%)
HSVhsv(235, 76%, 70%)
CMYKcmyk(75.8%, 69.1%, 0%, 30.2%)
CIE-LABlab(30.54, 38.50, -66.27)
CIE-LCHlch(30.54, 76.64, 300.15°)
OKLaboklab(41.7% 0.0022 -0.1918)
OKLCHoklch(41.7% 0.192 270.7)
XYZxyz(10.3956, 6.4592, 42.8097)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B37B2 #B2A62B
analogous
#2B7AB2 #2B37B2 #622BB2
triadic
#2B37B2 #B22B37 #37B22B
tetradic
#2B37B2 #B22B7A #B2A62B #2BB262
square
#2B37B2 #B22B7A #B2A62B #2BB262
split-complementary
#2B37B2 #B2622B #7AB22B
monochromatic
#13194F #1F2881 #2B37B2 #4854D3 #7982DF

Accessibility & contrast

On white

9.16
#2B37B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2B37B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B37B2
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B37B2#FFFFFF#000000##FFFFFF
##2B37B21.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB6
Deuteranopia (green-blind)
#0041B0
Tritanopia (blue-blind)
#005970
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b37b2;
/* rgb */ color: rgb(43, 55, 178);
/* oklch */ color: oklch(41.7% 0.192 270.7);
Tailwind
colors: {
  custom: {
    50: '#7a6eca',
    500: '#2b37b2',
    950: '#000000',
  },
}
SCSS
$custom: #2b37b2;
$custom-light: #7a6eca;
$custom-dark: #000000;
JSON
{
  "hex": "#2b37b2",
  "rgb": {
    "r": 43,
    "g": 55,
    "b": 178
  },
  "hsl": {
    "h": 234.667,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.41696,
    "c": 0.1918,
    "h": 270.7
  },
  "luminance": 0.0646
}

Semantic roles & 50–950 ramp

primary
#2B37B2
secondary
#C7BF72
accent
#D644E4
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2B37B2

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

Preview Lab → · Contrast checker → · Palette generator →

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