#2B3AA4#2B3AA4

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

Color values

HEX#2B3AA4
RGBrgb(43, 58, 164)
HSLhsl(233, 58%, 41%)
HSVhsv(233, 74%, 64%)
CMYKcmyk(73.8%, 64.6%, 0%, 35.7%)
CIE-LABlab(29.96, 31.54, -58.84)
CIE-LCHlch(29.96, 66.76, 298.19°)
OKLaboklab(40.87% 0.0015 -0.17)
OKLCHoklch(40.87% 0.17 270.5)
XYZxyz(9.2079, 6.2191, 35.8299)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3AA4 #A4952B
analogous
#2B76A4 #2B3AA4 #582BA4
triadic
#2B3AA4 #A42B3A #3AA42B
tetradic
#2B3AA4 #A42B76 #A4952B #2BA458
square
#2B3AA4 #A42B76 #A4952B #2BA458
split-complementary
#2B3AA4 #A4582B #76A42B
monochromatic
#121843 #1E2974 #2B3AA4 #3F51CD #707DD9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B3AA4#FFFFFF#000000##FFFFFF
##2B3AA41.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)
#004CA7
Deuteranopia (green-blind)
#0041A2
Tritanopia (blue-blind)
#005669
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2b3aa4;
/* rgb */ color: rgb(43, 58, 164);
/* oklch */ color: oklch(40.9% 0.170 270.5);
Tailwind
colors: {
  custom: {
    50: '#7670c0',
    500: '#2b3aa4',
    950: '#000000',
  },
}
SCSS
$custom: #2b3aa4;
$custom-light: #7670c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3aa4",
  "rgb": {
    "r": 43,
    "g": 58,
    "b": 164
  },
  "hsl": {
    "h": 232.562,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40874,
    "c": 0.17005,
    "h": 270.5
  },
  "luminance": 0.0622
}

Semantic roles & 50–950 ramp

primary
#2B3AA4
secondary
#C1B66A
accent
#CE46E2
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2B3AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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