#2B3EC2#2B3EC2

#2B3EC2 is a dark, highly saturated blue. Relative luminance 0.079; OKLCH L 44.4% C 0.204 H 269.2°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#2B3EC2
RGBrgb(43, 62, 194)
HSLhsl(232, 64%, 46%)
HSVhsv(232, 78%, 76%)
CMYKcmyk(77.8%, 68%, 0%, 23.9%)
CIE-LABlab(33.67, 39.84, -70.57)
CIE-LCHlch(33.67, 81.04, 299.45°)
OKLaboklab(44.43% -0.0029 -0.2043)
OKLCHoklch(44.43% 0.204 269.2)
XYZxyz(12.4531, 7.8525, 51.8878)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3EC2 #C2AF2B
analogous
#2B8AC2 #2B3EC2 #642BC2
triadic
#2B3EC2 #C22B3E #3EC22B
tetradic
#2B3EC2 #C22B8A #C2AF2B #2BC264
square
#2B3EC2 #C22B8A #C2AF2B #2BC264
split-complementary
#2B3EC2 #C2642B #8AC22B
monochromatic
#151E5E #202E90 #2B3EC2 #5263D9 #8490E4

Accessibility & contrast

On white

8.17
#2B3EC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2B3EC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3EC2
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3EC2#FFFFFF#000000##FFFFFF
##2B3EC21.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C6
Deuteranopia (green-blind)
#0048C0
Tritanopia (blue-blind)
#00627B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2b3ec2;
/* rgb */ color: rgb(43, 62, 194);
/* oklch */ color: oklch(44.4% 0.204 269.2);
Tailwind
colors: {
  custom: {
    50: '#7d73d6',
    500: '#2b3ec2',
    950: '#000000',
  },
}
SCSS
$custom: #2b3ec2;
$custom-light: #7d73d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3ec2",
  "rgb": {
    "r": 43,
    "g": 62,
    "b": 194
  },
  "hsl": {
    "h": 232.45,
    "s": 63.713,
    "l": 46.471
  },
  "oklch": {
    "l": 0.44429,
    "c": 0.20435,
    "h": 269.2
  },
  "luminance": 0.07854
}

Semantic roles & 50–950 ramp

primary
#2B3EC2
secondary
#CDC37C
accent
#D241E7
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #2B3EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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