#2B37A4#2B37A4

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

Color values

HEX#2B37A4
RGBrgb(43, 55, 164)
HSLhsl(234, 58%, 41%)
HSVhsv(234, 74%, 64%)
CMYKcmyk(73.8%, 66.5%, 0%, 35.7%)
CIE-LABlab(29.22, 33.48, -60.04)
CIE-LCHlch(29.22, 68.75, 299.14°)
OKLaboklab(40.34% 0.0035 -0.1736)
OKLCHoklch(40.34% 0.174 271.2)
XYZxyz(9.0610, 5.9254, 35.7809)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B37A4 #A4982B
analogous
#2B73A4 #2B37A4 #5C2BA4
triadic
#2B37A4 #A42B37 #37A42B
tetradic
#2B37A4 #A42B73 #A4982B #2BA45C
square
#2B37A4 #A42B73 #A4982B #2BA45C
split-complementary
#2B37A4 #A45C2B #73A42B
monochromatic
#121643 #1E2774 #2B37A4 #3F4DCD #707AD9

Accessibility & contrast

On white

9.61
#2B37A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2B37A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B37A4
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B37A4#FFFFFF#000000##FFFFFF
##2B37A41.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b37a4;
/* rgb */ color: rgb(43, 55, 164);
/* oklch */ color: oklch(40.3% 0.174 271.2);
Tailwind
colors: {
  custom: {
    50: '#776ec0',
    500: '#2b37a4',
    950: '#000000',
  },
}
SCSS
$custom: #2b37a4;
$custom-light: #776ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b37a4",
  "rgb": {
    "r": 43,
    "g": 55,
    "b": 164
  },
  "hsl": {
    "h": 234.05,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40336,
    "c": 0.17363,
    "h": 271.2
  },
  "luminance": 0.05926
}

Semantic roles & 50–950 ramp

primary
#2B37A4
secondary
#C1B86A
accent
#D246E2
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2B37A4

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

Preview Lab → · Contrast checker → · Palette generator →

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