#2B3BA5#2B3BA5

#2B3BA5 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.1% C 0.170 H 270.3°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#2B3BA5
RGBrgb(43, 59, 165)
HSLhsl(232, 59%, 41%)
HSVhsv(232, 74%, 65%)
CMYKcmyk(73.9%, 64.2%, 0%, 35.3%)
CIE-LABlab(30.30, 31.26, -58.89)
CIE-LCHlch(30.30, 66.67, 297.96°)
OKLaboklab(41.15% 0.0008 -0.1702)
OKLCHoklch(41.15% 0.17 270.3)
XYZxyz(9.3494, 6.3572, 36.3243)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3BA5 #A5952B
analogous
#2B78A5 #2B3BA5 #582BA5
triadic
#2B3BA5 #A52B3B #3BA52B
tetradic
#2B3BA5 #A52B78 #A5952B #2BA558
square
#2B3BA5 #A52B78 #A5952B #2BA558
split-complementary
#2B3BA5 #A5582B #78A52B
monochromatic
#121844 #1E2A74 #2B3BA5 #4053CD #717EDA

Accessibility & contrast

On white

9.24
#2B3BA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2B3BA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3BA5
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3BA5#FFFFFF#000000##FFFFFF
##2B3BA51.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA8
Deuteranopia (green-blind)
#0042A3
Tritanopia (blue-blind)
#00576A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2b3ba5;
/* rgb */ color: rgb(43, 59, 165);
/* oklch */ color: oklch(41.1% 0.170 270.3);
Tailwind
colors: {
  custom: {
    50: '#7771c1',
    500: '#2b3ba5',
    950: '#000000',
  },
}
SCSS
$custom: #2b3ba5;
$custom-light: #7771c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3ba5",
  "rgb": {
    "r": 43,
    "g": 59,
    "b": 165
  },
  "hsl": {
    "h": 232.131,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.41149,
    "c": 0.17018,
    "h": 270.3
  },
  "luminance": 0.06358
}

Semantic roles & 50–950 ramp

primary
#2B3BA5
secondary
#C1B66B
accent
#CD46E2
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2B3BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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