#2B37A9#2B37A9

#2B37A9 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.8% C 0.180 H 271.0°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#2B37A9
RGBrgb(43, 55, 169)
HSLhsl(234, 59%, 42%)
HSVhsv(234, 75%, 66%)
CMYKcmyk(74.6%, 67.5%, 0%, 33.7%)
CIE-LABlab(29.69, 35.29, -62.29)
CIE-LCHlch(29.69, 71.60, 299.53°)
OKLaboklab(40.82% 0.0031 -0.1802)
OKLCHoklch(40.82% 0.18 271)
XYZxyz(9.5214, 6.1095, 38.2059)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B37A9 #A99D2B
analogous
#2B76A9 #2B37A9 #5E2BA9
triadic
#2B37A9 #A92B37 #37A92B
tetradic
#2B37A9 #A92B76 #A99D2B #2BA95E
square
#2B37A9 #A92B76 #A99D2B #2BA95E
split-complementary
#2B37A9 #A95E2B #76A92B
monochromatic
#121747 #1F2778 #2B37A9 #4250CF #737DDB

Accessibility & contrast

On white

9.45
#2B37A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2B37A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B37A9
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B37A9#FFFFFF#000000##FFFFFF
##2B37A91.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAD
Deuteranopia (green-blind)
#0040A7
Tritanopia (blue-blind)
#00566B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2b37a9;
/* rgb */ color: rgb(43, 55, 169);
/* oklch */ color: oklch(40.8% 0.180 271.0);
Tailwind
colors: {
  custom: {
    50: '#786ec4',
    500: '#2b37a9',
    950: '#000000',
  },
}
SCSS
$custom: #2b37a9;
$custom-light: #786ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b37a9",
  "rgb": {
    "r": 43,
    "g": 55,
    "b": 169
  },
  "hsl": {
    "h": 234.286,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40815,
    "c": 0.1802,
    "h": 271
  },
  "luminance": 0.06111
}

Semantic roles & 50–950 ramp

primary
#2B37A9
secondary
#C3BB6D
accent
#D445E3
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2B37A9

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

Preview Lab → · Contrast checker → · Palette generator →

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