#2B3BA1#2B3BA1

#2B3BA1 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.8% C 0.165 H 270.3°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#2B3BA1
RGBrgb(43, 59, 161)
HSLhsl(232, 58%, 40%)
HSVhsv(232, 73%, 63%)
CMYKcmyk(73.3%, 63.4%, 0%, 36.9%)
CIE-LABlab(29.95, 29.78, -57.05)
CIE-LCHlch(29.95, 64.35, 297.57°)
OKLaboklab(40.78% 0.001 -0.1648)
OKLCHoklch(40.78% 0.165 270.3)
XYZxyz(8.9911, 6.2138, 34.4368)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3BA1 #A1912B
analogous
#2B76A1 #2B3BA1 #562BA1
triadic
#2B3BA1 #A12B3B #3BA12B
tetradic
#2B3BA1 #A12B76 #A1912B #2BA156
square
#2B3BA1 #A12B76 #A1912B #2BA156
split-complementary
#2B3BA1 #A1562B #76A12B
monochromatic
#111840 #1E2971 #2B3BA1 #3E51CB #6E7DD8

Accessibility & contrast

On white

9.36
#2B3BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2B3BA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3BA1
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3BA1#FFFFFF#000000##FFFFFF
##2B3BA11.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA4
Deuteranopia (green-blind)
#00419F
Tritanopia (blue-blind)
#005568
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2b3ba1;
/* rgb */ color: rgb(43, 59, 161);
/* oklch */ color: oklch(40.8% 0.165 270.3);
Tailwind
colors: {
  custom: {
    50: '#7671be',
    500: '#2b3ba1',
    950: '#000000',
  },
}
SCSS
$custom: #2b3ba1;
$custom-light: #7671be;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3ba1",
  "rgb": {
    "r": 43,
    "g": 59,
    "b": 161
  },
  "hsl": {
    "h": 231.864,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.40783,
    "c": 0.16479,
    "h": 270.3
  },
  "luminance": 0.06215
}

Semantic roles & 50–950 ramp

primary
#2B3BA1
secondary
#BFB469
accent
#CC47E1
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2B3BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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