#2B3AB4#2B3AB4

#2B3AB4 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.4% C 0.191 H 270.1°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#2B3AB4
RGBrgb(43, 58, 180)
HSLhsl(233, 61%, 44%)
HSVhsv(233, 76%, 71%)
CMYKcmyk(76.1%, 67.8%, 0%, 29.4%)
CIE-LABlab(31.43, 37.34, -66.01)
CIE-LCHlch(31.43, 75.84, 299.50°)
OKLaboklab(42.39% 0.0004 -0.191)
OKLCHoklch(42.39% 0.191 270.1)
XYZxyz(10.7447, 6.8338, 43.9240)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3AB4 #B4A52B
analogous
#2B7EB4 #2B3AB4 #602BB4
triadic
#2B3AB4 #B42B3A #3AB42B
tetradic
#2B3AB4 #B42B7E #B4A52B #2BB460
square
#2B3AB4 #B42B7E #B4A52B #2BB460
split-complementary
#2B3AB4 #B4602B #7EB42B
monochromatic
#131A51 #1F2A83 #2B3AB4 #4958D3 #7A85DF

Accessibility & contrast

On white

8.87
#2B3AB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2B3AB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3AB4
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3AB4#FFFFFF#000000##FFFFFF
##2B3AB41.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B8
Deuteranopia (green-blind)
#0043B2
Tritanopia (blue-blind)
#005B72
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2b3ab4;
/* rgb */ color: rgb(43, 58, 180);
/* oklch */ color: oklch(42.4% 0.191 270.1);
Tailwind
colors: {
  custom: {
    50: '#7a70cc',
    500: '#2b3ab4',
    950: '#000000',
  },
}
SCSS
$custom: #2b3ab4;
$custom-light: #7a70cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3ab4",
  "rgb": {
    "r": 43,
    "g": 58,
    "b": 180
  },
  "hsl": {
    "h": 233.431,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42394,
    "c": 0.19102,
    "h": 270.1
  },
  "luminance": 0.06835
}

Semantic roles & 50–950 ramp

primary
#2B3AB4
secondary
#C7BE73
accent
#D343E5
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2B3AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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