#2B3BA2#2B3BA2

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

Color values

HEX#2B3BA2
RGBrgb(43, 59, 162)
HSLhsl(232, 58%, 40%)
HSVhsv(232, 73%, 64%)
CMYKcmyk(73.5%, 63.6%, 0%, 36.5%)
CIE-LABlab(30.03, 30.15, -57.51)
CIE-LCHlch(30.03, 64.93, 297.67°)
OKLaboklab(40.87% 0.0009 -0.1661)
OKLCHoklch(40.87% 0.166 270.3)
XYZxyz(9.0796, 6.2492, 34.9031)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3BA2 #A2922B
analogous
#2B76A2 #2B3BA2 #572BA2
triadic
#2B3BA2 #A22B3B #3BA22B
tetradic
#2B3BA2 #A22B76 #A2922B #2BA257
square
#2B3BA2 #A22B76 #A2922B #2BA257
split-complementary
#2B3BA2 #A2572B #76A22B
monochromatic
#111841 #1E2972 #2B3BA2 #3E51CC #6F7DD9

Accessibility & contrast

On white

9.33
#2B3BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2B3BA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3BA2
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3BA2#FFFFFF#000000##FFFFFF
##2B3BA21.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b3ba2;
/* rgb */ color: rgb(43, 59, 162);
/* oklch */ color: oklch(40.9% 0.166 270.3);
Tailwind
colors: {
  custom: {
    50: '#7671be',
    500: '#2b3ba2',
    950: '#000000',
  },
}
SCSS
$custom: #2b3ba2;
$custom-light: #7671be;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3ba2",
  "rgb": {
    "r": 43,
    "g": 59,
    "b": 162
  },
  "hsl": {
    "h": 231.933,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.40874,
    "c": 0.16614,
    "h": 270.3
  },
  "luminance": 0.0625
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B3BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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