#2B3AC6#2B3AC6

#2B3AC6 is a dark, highly saturated blue. Relative luminance 0.076; OKLCH L 44.2% C 0.214 H 269.6°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#2B3AC6
RGBrgb(43, 58, 198)
HSLhsl(234, 64%, 47%)
HSVhsv(234, 78%, 78%)
CMYKcmyk(78.3%, 70.7%, 0%, 22.4%)
CIE-LABlab(33.17, 43.68, -73.75)
CIE-LCHlch(33.17, 85.71, 300.64°)
OKLaboklab(44.18% -0.0014 -0.2136)
OKLCHoklch(44.18% 0.214 269.6)
XYZxyz(12.6989, 7.6155, 54.2158)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3AC6 #C6B72B
analogous
#2B87C6 #2B3AC6 #6A2BC6
triadic
#2B3AC6 #C62B3A #3AC62B
tetradic
#2B3AC6 #C62B87 #C6B72B #2BC66A
square
#2B3AC6 #C62B87 #C6B72B #2BC66A
split-complementary
#2B3AC6 #C66A2B #87C62B
monochromatic
#151D61 #202B94 #2B3AC6 #5461DA #8790E5

Accessibility & contrast

On white

8.32
#2B3AC6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2B3AC6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3AC6
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3AC6#FFFFFF#000000##FFFFFF
##2B3AC61.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CA
Deuteranopia (green-blind)
#0046C3
Tritanopia (blue-blind)
#00627C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2b3ac6;
/* rgb */ color: rgb(43, 58, 198);
/* oklch */ color: oklch(44.2% 0.214 269.6);
Tailwind
colors: {
  custom: {
    50: '#7f71d9',
    500: '#2b3ac6',
    950: '#000000',
  },
}
SCSS
$custom: #2b3ac6;
$custom-light: #7f71d9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3ac6",
  "rgb": {
    "r": 43,
    "g": 58,
    "b": 198
  },
  "hsl": {
    "h": 234.194,
    "s": 64.315,
    "l": 47.255
  },
  "oklch": {
    "l": 0.44181,
    "c": 0.21359,
    "h": 269.6
  },
  "luminance": 0.07617
}

Semantic roles & 50–950 ramp

primary
#2B3AC6
secondary
#CEC77F
accent
#D740E7
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #2B3AC6

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

Preview Lab → · Contrast checker → · Palette generator →

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