#2B37B4#2B37B4

#2B37B4 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.9% C 0.194 H 270.6°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#2B37B4
RGBrgb(43, 55, 180)
HSLhsl(235, 61%, 44%)
HSVhsv(235, 76%, 71%)
CMYKcmyk(76.1%, 69.4%, 0%, 29.4%)
CIE-LABlab(30.74, 39.21, -67.14)
CIE-LCHlch(30.74, 77.75, 300.28°)
OKLaboklab(41.9% 0.002 -0.1943)
OKLCHoklch(41.9% 0.194 270.6)
XYZxyz(10.5979, 6.5401, 43.8750)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B37B4 #B4A82B
analogous
#2B7BB4 #2B37B4 #632BB4
triadic
#2B37B4 #B42B37 #37B42B
tetradic
#2B37B4 #B42B7B #B4A82B #2BB463
square
#2B37B4 #B42B7B #B4A82B #2BB463
split-complementary
#2B37B4 #B4632B #7BB42B
monochromatic
#131951 #1F2883 #2B37B4 #4955D3 #7A83DF

Accessibility & contrast

On white

9.10
#2B37B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2B37B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B37B4
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B37B4#FFFFFF#000000##FFFFFF
##2B37B41.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB8
Deuteranopia (green-blind)
#0042B2
Tritanopia (blue-blind)
#005971
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b37b4;
/* rgb */ color: rgb(43, 55, 180);
/* oklch */ color: oklch(41.9% 0.194 270.6);
Tailwind
colors: {
  custom: {
    50: '#7b6ecc',
    500: '#2b37b4',
    950: '#000000',
  },
}
SCSS
$custom: #2b37b4;
$custom-light: #7b6ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b37b4",
  "rgb": {
    "r": 43,
    "g": 55,
    "b": 180
  },
  "hsl": {
    "h": 234.745,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41895,
    "c": 0.19435,
    "h": 270.6
  },
  "luminance": 0.06541
}

Semantic roles & 50–950 ramp

primary
#2B37B4
secondary
#C7C073
accent
#D643E5
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2B37B4

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

Preview Lab → · Contrast checker → · Palette generator →

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