#2B37B0#2B37B0

#2B37B0 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.5% C 0.189 H 270.7°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#2B37B0
RGBrgb(43, 55, 176)
HSLhsl(235, 61%, 43%)
HSVhsv(235, 76%, 69%)
CMYKcmyk(75.6%, 68.8%, 0%, 31%)
CIE-LABlab(30.35, 37.79, -65.40)
CIE-LCHlch(30.35, 75.53, 300.02°)
OKLaboklab(41.5% 0.0025 -0.1892)
OKLCHoklch(41.5% 0.189 270.7)
XYZxyz(10.1963, 6.3795, 41.7599)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B37B0 #B0A42B
analogous
#2B7AB0 #2B37B0 #612BB0
triadic
#2B37B0 #B02B37 #37B02B
tetradic
#2B37B0 #B02B7A #B0A42B #2BB061
square
#2B37B0 #B02B7A #B0A42B #2BB061
split-complementary
#2B37B0 #B0612B #7AB02B
monochromatic
#13184E #1F287F #2B37B0 #4653D2 #7881DE

Accessibility & contrast

On white

9.23
#2B37B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2B37B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B37B0
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B37B0#FFFFFF#000000##FFFFFF
##2B37B01.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB4
Deuteranopia (green-blind)
#0041AE
Tritanopia (blue-blind)
#00586F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2b37b0;
/* rgb */ color: rgb(43, 55, 176);
/* oklch */ color: oklch(41.5% 0.189 270.7);
Tailwind
colors: {
  custom: {
    50: '#7a6ec9',
    500: '#2b37b0',
    950: '#000000',
  },
}
SCSS
$custom: #2b37b0;
$custom-light: #7a6ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b37b0",
  "rgb": {
    "r": 43,
    "g": 55,
    "b": 176
  },
  "hsl": {
    "h": 234.586,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.41499,
    "c": 0.18926,
    "h": 270.7
  },
  "luminance": 0.06381
}

Semantic roles & 50–950 ramp

primary
#2B37B0
secondary
#C6BE71
accent
#D544E4
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2B37B0

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

Preview Lab → · Contrast checker → · Palette generator →

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