#2B3AA2#2B3AA2

#2B3AA2 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.7% C 0.167 H 270.6°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#2B3AA2
RGBrgb(43, 58, 162)
HSLhsl(232, 58%, 40%)
HSVhsv(232, 73%, 64%)
CMYKcmyk(73.5%, 64.2%, 0%, 36.5%)
CIE-LABlab(29.78, 30.81, -57.92)
CIE-LCHlch(29.78, 65.60, 298.01°)
OKLaboklab(40.69% 0.0016 -0.1674)
OKLCHoklch(40.69% 0.167 270.6)
XYZxyz(9.0287, 6.1474, 34.8862)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3AA2 #A2932B
analogous
#2B75A2 #2B3AA2 #572BA2
triadic
#2B3AA2 #A22B3A #3AA22B
tetradic
#2B3AA2 #A22B75 #A2932B #2BA257
square
#2B3AA2 #A22B75 #A2932B #2BA257
split-complementary
#2B3AA2 #A2572B #75A22B
monochromatic
#111741 #1E2972 #2B3AA2 #3E50CC #6F7CD9

Accessibility & contrast

On white

9.42
#2B3AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2B3AA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3AA2
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3AA2#FFFFFF#000000##FFFFFF
##2B3AA21.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b3aa2;
/* rgb */ color: rgb(43, 58, 162);
/* oklch */ color: oklch(40.7% 0.167 270.6);
Tailwind
colors: {
  custom: {
    50: '#7670be',
    500: '#2b3aa2',
    950: '#000000',
  },
}
SCSS
$custom: #2b3aa2;
$custom-light: #7670be;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3aa2",
  "rgb": {
    "r": 43,
    "g": 58,
    "b": 162
  },
  "hsl": {
    "h": 232.437,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.40689,
    "c": 0.16737,
    "h": 270.6
  },
  "luminance": 0.06148
}

Semantic roles & 50–950 ramp

primary
#2B3AA2
secondary
#C0B569
accent
#CE47E1
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2B3AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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