#2B3BA3#2B3BA3

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

Color values

HEX#2B3BA3
RGBrgb(43, 59, 163)
HSLhsl(232, 58%, 40%)
HSVhsv(232, 74%, 64%)
CMYKcmyk(73.6%, 63.8%, 0%, 36.1%)
CIE-LABlab(30.12, 30.52, -57.97)
CIE-LCHlch(30.12, 65.51, 297.76°)
OKLaboklab(40.97% 0.0009 -0.1675)
OKLCHoklch(40.97% 0.167 270.3)
XYZxyz(9.1688, 6.2849, 35.3731)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3BA3 #A3932B
analogous
#2B77A3 #2B3BA3 #572BA3
triadic
#2B3BA3 #A32B3B #3BA32B
tetradic
#2B3BA3 #A32B77 #A3932B #2BA357
square
#2B3BA3 #A32B77 #A3932B #2BA357
split-complementary
#2B3BA3 #A3572B #77A32B
monochromatic
#111842 #1E2973 #2B3BA3 #3F52CC #6F7DD9

Accessibility & contrast

On white

9.30
#2B3BA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B3BA3
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3BA3#FFFFFF#000000##FFFFFF
##2B3BA31.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA6
Deuteranopia (green-blind)
#0041A1
Tritanopia (blue-blind)
#005669
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2b3ba3;
/* rgb */ color: rgb(43, 59, 163);
/* oklch */ color: oklch(41.0% 0.167 270.3);
Tailwind
colors: {
  custom: {
    50: '#7671bf',
    500: '#2b3ba3',
    950: '#000000',
  },
}
SCSS
$custom: #2b3ba3;
$custom-light: #7671bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3ba3",
  "rgb": {
    "r": 43,
    "g": 59,
    "b": 163
  },
  "hsl": {
    "h": 232,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.40966,
    "c": 0.16749,
    "h": 270.3
  },
  "luminance": 0.06286
}

Semantic roles & 50–950 ramp

primary
#2B3BA3
secondary
#C0B56A
accent
#CD46E1
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2B3BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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