#2B37B5#2B37B5

#2B37B5 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 42.0% C 0.196 H 270.6°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#2B37B5
RGBrgb(43, 55, 181)
HSLhsl(235, 62%, 44%)
HSVhsv(235, 76%, 71%)
CMYKcmyk(76.2%, 69.6%, 0%, 29%)
CIE-LABlab(30.83, 39.56, -67.58)
CIE-LCHlch(30.83, 78.31, 300.34°)
OKLaboklab(41.99% 0.0019 -0.1956)
OKLCHoklch(41.99% 0.196 270.6)
XYZxyz(10.7001, 6.5810, 44.4134)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B37B5 #B5A92B
analogous
#2B7CB5 #2B37B5 #642BB5
triadic
#2B37B5 #B52B37 #37B52B
tetradic
#2B37B5 #B52B7C #B5A92B #2BB564
square
#2B37B5 #B52B7C #B5A92B #2BB564
split-complementary
#2B37B5 #B5642B #7CB52B
monochromatic
#141952 #1F2884 #2B37B5 #4955D4 #7B84E0

Accessibility & contrast

On white

9.07
#2B37B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2B37B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B37B5
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B37B5#FFFFFF#000000##FFFFFF
##2B37B51.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB9
Deuteranopia (green-blind)
#0042B3
Tritanopia (blue-blind)
#005A72
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2b37b5;
/* rgb */ color: rgb(43, 55, 181);
/* oklch */ color: oklch(42.0% 0.196 270.6);
Tailwind
colors: {
  custom: {
    50: '#7b6ecc',
    500: '#2b37b5',
    950: '#000000',
  },
}
SCSS
$custom: #2b37b5;
$custom-light: #7b6ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b37b5",
  "rgb": {
    "r": 43,
    "g": 55,
    "b": 181
  },
  "hsl": {
    "h": 234.783,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.41994,
    "c": 0.19561,
    "h": 270.6
  },
  "luminance": 0.06582
}

Semantic roles & 50–950 ramp

primary
#2B37B5
secondary
#C8C074
accent
#D743E5
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2B37B5

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

Preview Lab → · Contrast checker → · Palette generator →

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