#2B37A3#2B37A3

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

Color values

HEX#2B37A3
RGBrgb(43, 55, 163)
HSLhsl(234, 58%, 40%)
HSVhsv(234, 74%, 64%)
CMYKcmyk(73.6%, 66.3%, 0%, 36.1%)
CIE-LABlab(29.13, 33.12, -59.59)
CIE-LCHlch(29.13, 68.18, 299.06°)
OKLaboklab(40.24% 0.0036 -0.1723)
OKLCHoklch(40.24% 0.172 271.2)
XYZxyz(8.9711, 5.8894, 35.3072)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B37A3 #A3972B
analogous
#2B73A3 #2B37A3 #5B2BA3
triadic
#2B37A3 #A32B37 #37A32B
tetradic
#2B37A3 #A32B73 #A3972B #2BA35B
square
#2B37A3 #A32B73 #A3972B #2BA35B
split-complementary
#2B37A3 #A35B2B #73A32B
monochromatic
#111642 #1E2773 #2B37A3 #3F4DCC #6F7AD9

Accessibility & contrast

On white

9.64
#2B37A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2B37A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B37A3
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B37A3#FFFFFF#000000##FFFFFF
##2B37A31.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA6
Deuteranopia (green-blind)
#003FA1
Tritanopia (blue-blind)
#005468
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2b37a3;
/* rgb */ color: rgb(43, 55, 163);
/* oklch */ color: oklch(40.2% 0.172 271.2);
Tailwind
colors: {
  custom: {
    50: '#766ebf',
    500: '#2b37a3',
    950: '#000000',
  },
}
SCSS
$custom: #2b37a3;
$custom-light: #766ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b37a3",
  "rgb": {
    "r": 43,
    "g": 55,
    "b": 163
  },
  "hsl": {
    "h": 234,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.40241,
    "c": 0.1723,
    "h": 271.2
  },
  "luminance": 0.0589
}

Semantic roles & 50–950 ramp

primary
#2B37A3
secondary
#C0B86A
accent
#D246E1
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2B37A3

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

Preview Lab → · Contrast checker → · Palette generator →

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