#2B37A2#2B37A2

#2B37A2 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.1% C 0.171 H 271.2°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#2B37A2
RGBrgb(43, 55, 162)
HSLhsl(234, 58%, 40%)
HSVhsv(234, 73%, 64%)
CMYKcmyk(73.5%, 66%, 0%, 36.5%)
CIE-LABlab(29.04, 32.76, -59.14)
CIE-LCHlch(29.04, 67.60, 298.98°)
OKLaboklab(40.15% 0.0037 -0.1709)
OKLCHoklch(40.15% 0.171 271.2)
XYZxyz(8.8818, 5.8537, 34.8372)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B37A2 #A2962B
analogous
#2B72A2 #2B37A2 #5B2BA2
triadic
#2B37A2 #A22B37 #37A22B
tetradic
#2B37A2 #A22B72 #A2962B #2BA25B
square
#2B37A2 #A22B72 #A2962B #2BA25B
split-complementary
#2B37A2 #A25B2B #72A22B
monochromatic
#111641 #1E2772 #2B37A2 #3E4DCC #6F79D9

Accessibility & contrast

On white

9.67
#2B37A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2B37A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B37A2
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B37A2#FFFFFF#000000##FFFFFF
##2B37A21.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA5
Deuteranopia (green-blind)
#003FA0
Tritanopia (blue-blind)
#005367
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2b37a2;
/* rgb */ color: rgb(43, 55, 162);
/* oklch */ color: oklch(40.1% 0.171 271.2);
Tailwind
colors: {
  custom: {
    50: '#766ebf',
    500: '#2b37a2',
    950: '#000000',
  },
}
SCSS
$custom: #2b37a2;
$custom-light: #766ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b37a2",
  "rgb": {
    "r": 43,
    "g": 55,
    "b": 162
  },
  "hsl": {
    "h": 233.95,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.40146,
    "c": 0.17097,
    "h": 271.2
  },
  "luminance": 0.05855
}

Semantic roles & 50–950 ramp

primary
#2B37A2
secondary
#C0B769
accent
#D247E1
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2B37A2

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

Preview Lab → · Contrast checker → · Palette generator →

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