#2B37A6#2B37A6

#2B37A6 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.5% C 0.176 H 271.1°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#2B37A6
RGBrgb(43, 55, 166)
HSLhsl(234, 59%, 41%)
HSVhsv(234, 74%, 65%)
CMYKcmyk(74.1%, 66.9%, 0%, 34.9%)
CIE-LABlab(29.41, 34.21, -60.95)
CIE-LCHlch(29.41, 69.89, 299.30°)
OKLaboklab(40.53% 0.0034 -0.1762)
OKLCHoklch(40.53% 0.176 271.1)
XYZxyz(9.2430, 5.9982, 36.7396)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B37A6 #A69A2B
analogous
#2B74A6 #2B37A6 #5C2BA6
triadic
#2B37A6 #A62B37 #37A62B
tetradic
#2B37A6 #A62B74 #A69A2B #2BA65C
square
#2B37A6 #A62B74 #A69A2B #2BA65C
split-complementary
#2B37A6 #A65C2B #74A62B
monochromatic
#121745 #1E2775 #2B37A6 #414ECE #717BDA

Accessibility & contrast

On white

9.55
#2B37A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2B37A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B37A6
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B37A6#FFFFFF#000000##FFFFFF
##2B37A61.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA9
Deuteranopia (green-blind)
#0040A4
Tritanopia (blue-blind)
#005569
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2b37a6;
/* rgb */ color: rgb(43, 55, 166);
/* oklch */ color: oklch(40.5% 0.176 271.1);
Tailwind
colors: {
  custom: {
    50: '#776ec1',
    500: '#2b37a6',
    950: '#000000',
  },
}
SCSS
$custom: #2b37a6;
$custom-light: #776ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b37a6",
  "rgb": {
    "r": 43,
    "g": 55,
    "b": 166
  },
  "hsl": {
    "h": 234.146,
    "s": 58.852,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40527,
    "c": 0.17627,
    "h": 271.1
  },
  "luminance": 0.05999
}

Semantic roles & 50–950 ramp

primary
#2B37A6
secondary
#C1B96B
accent
#D346E2
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2B37A6

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

Preview Lab → · Contrast checker → · Palette generator →

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