#2B3BA4#2B3BA4

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

Color values

HEX#2B3BA4
RGBrgb(43, 59, 164)
HSLhsl(232, 58%, 41%)
HSVhsv(232, 74%, 64%)
CMYKcmyk(73.8%, 64%, 0%, 35.7%)
CIE-LABlab(30.21, 30.89, -58.43)
CIE-LCHlch(30.21, 66.09, 297.86°)
OKLaboklab(41.06% 0.0009 -0.1688)
OKLCHoklch(41.06% 0.169 270.3)
XYZxyz(9.2588, 6.3209, 35.8469)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3BA4 #A4942B
analogous
#2B77A4 #2B3BA4 #572BA4
triadic
#2B3BA4 #A42B3B #3BA42B
tetradic
#2B3BA4 #A42B77 #A4942B #2BA457
square
#2B3BA4 #A42B77 #A4942B #2BA457
split-complementary
#2B3BA4 #A4572B #77A42B
monochromatic
#121843 #1E2A74 #2B3BA4 #3F52CD #707ED9

Accessibility & contrast

On white

9.27
#2B3BA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2B3BA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3BA4
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3BA4#FFFFFF#000000##FFFFFF
##2B3BA41.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA7
Deuteranopia (green-blind)
#0042A2
Tritanopia (blue-blind)
#00566A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2b3ba4;
/* rgb */ color: rgb(43, 59, 164);
/* oklch */ color: oklch(41.1% 0.169 270.3);
Tailwind
colors: {
  custom: {
    50: '#7671c0',
    500: '#2b3ba4',
    950: '#000000',
  },
}
SCSS
$custom: #2b3ba4;
$custom-light: #7671c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3ba4",
  "rgb": {
    "r": 43,
    "g": 59,
    "b": 164
  },
  "hsl": {
    "h": 232.066,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41057,
    "c": 0.16884,
    "h": 270.3
  },
  "luminance": 0.06322
}

Semantic roles & 50–950 ramp

primary
#2B3BA4
secondary
#C1B56A
accent
#CD46E2
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2B3BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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