#2B37A7#2B37A7

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

Color values

HEX#2B37A7
RGBrgb(43, 55, 167)
HSLhsl(234, 59%, 41%)
HSVhsv(234, 74%, 65%)
CMYKcmyk(74.3%, 67.1%, 0%, 34.5%)
CIE-LABlab(29.50, 34.57, -61.40)
CIE-LCHlch(29.50, 70.46, 299.38°)
OKLaboklab(40.62% 0.0033 -0.1776)
OKLCHoklch(40.62% 0.178 271.1)
XYZxyz(9.3351, 6.0350, 37.2246)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B37A7 #A79B2B
analogous
#2B75A7 #2B37A7 #5D2BA7
triadic
#2B37A7 #A72B37 #37A72B
tetradic
#2B37A7 #A72B75 #A79B2B #2BA75D
square
#2B37A7 #A72B75 #A79B2B #2BA75D
split-complementary
#2B37A7 #A75D2B #75A72B
monochromatic
#121746 #1E2776 #2B37A7 #414FCE #727CDB

Accessibility & contrast

On white

9.51
#2B37A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2B37A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B37A7
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B37A7#FFFFFF#000000##FFFFFF
##2B37A71.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAA
Deuteranopia (green-blind)
#0040A5
Tritanopia (blue-blind)
#00556A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2b37a7;
/* rgb */ color: rgb(43, 55, 167);
/* oklch */ color: oklch(40.6% 0.178 271.1);
Tailwind
colors: {
  custom: {
    50: '#776ec2',
    500: '#2b37a7',
    950: '#000000',
  },
}
SCSS
$custom: #2b37a7;
$custom-light: #776ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b37a7",
  "rgb": {
    "r": 43,
    "g": 55,
    "b": 167
  },
  "hsl": {
    "h": 234.194,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.40623,
    "c": 0.17758,
    "h": 271.1
  },
  "luminance": 0.06036
}

Semantic roles & 50–950 ramp

primary
#2B37A7
secondary
#C2BA6C
accent
#D346E2
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2B37A7

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

Preview Lab → · Contrast checker → · Palette generator →

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